[go: up one dir, main page]

bastion 0.1.4-alpha.1

Fault-tolerant Runtime for Rust applications
Documentation
1
2
3
4
5
6
7
8
use crate::child::{BastionChildren, BastionClosure, Message};

pub trait RuntimeSpawn {
    fn spawn<F, M>(thunk: F, msg: M) -> BastionChildren
    where
        F: BastionClosure,
        M: Message;
}