Enum calloop::channel::Event[][src]

pub enum Event<T> {
    Msg(T),
    Closed,
}
Expand description

The events generated by the channel event source

Variants

Msg(T)

Tuple Fields

0: T

A message was received and is bundled here

Closed

The channel was closed

This means all the Senders associated with this channel have been dropped, no more messages will ever be received.

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.