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; }