Enum breadthread::LoopCycle[][src]

pub enum LoopCycle<Event, Directive> {
    Break,
    Continue(Event),
    Directive(Sender<Directive>),
}
Expand description

The result of a loop cycle.

Variants

Break

Stop the loop.

Continue

We got an event.

Tuple Fields of Continue

0: Event
Directive

We got a directive.

Tuple Fields of Directive

0: Sender<Directive>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.