Trait rotor_tools::compose::Spawner
[−]
[src]
pub trait Spawner { type Child: Machine<Seed = Void>; type Seed; fn spawn(
seed: Self::Seed,
scope: &mut Scope<<Self::Child as Machine>::Context>
) -> Response<Self::Child, Void>; }
Associated Types
Required Methods
fn spawn(
seed: Self::Seed,
scope: &mut Scope<<Self::Child as Machine>::Context>
) -> Response<Self::Child, Void>
seed: Self::Seed,
scope: &mut Scope<<Self::Child as Machine>::Context>
) -> Response<Self::Child, Void>