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

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

The events generated by the channel event source

Variants

A message was received and is bundled here

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

impl<T> Send for Event<T> where
    T: Send

impl<T> Sync for Event<T> where
    T: Sync