Enum rotor_tools::compose::Spawn [] [src]

pub enum Spawn<S: Spawner> {
    Spawner(S),
    Child(S::Child),
}

Composes two state machines where of the state machines spawns multiple instances of another one

Variants

Trait Implementations

impl<S, C, D> Machine for Spawn<S> where
    S: Spawner<Child = C, Seed = D> + Machine<Context = C::Context, Seed = D>,
    C: Machine<Seed = Void>, 
[src]

Context type for the state machine Read more

Seed is piece of data that is needed to initialize the machine Read more

Create a machine from some data Read more

Socket readiness notification

Called after spawn event Read more

Timeout happened

Message received Read more

Called instead of spawned, if there is no slab space Read more