Enum rotor::SpawnError [] [src]

pub enum SpawnError<S: Sized> {
    NoSlabSpace(S),
    UserError(Box<Error>),
}

Error when spawning a new state machine

Variants

The State Machine Slab capacity is reached

The capacity is configured in the rotor::Config and is used for creating rotor::Loop.

The item in this struct is the Seed that send to create a machine

Error returned from Machine::create handler

Methods

impl<S> SpawnError<S>
[src]

Trait Implementations

impl<S> Display for SpawnError<S>
[src]

Formats the value using the given formatter.

impl<S: Error> Error for SpawnError<S>
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl<S> From<Box<Error>> for SpawnError<S>
[src]

Performs the conversion.

impl<S> Debug for SpawnError<S>
[src]

Formats the value using the given formatter.