Module calloop::channel[][src]

Expand description

An MPSC channel whose receiving end is an event source

Create a channel using Channel::<T>::new(), which returns a Sender<T> that can be cloned and sent accross threads if T: Send, and a Channel<T> that can be inserted into an EventLoop. It will generate one event per message.

Structs

The receiving end of the channel

The sender end of a channel

The sender end of a synchronous channel

Enums

The events generated by the channel event source

Functions

Create a new asynchronous channel

Create a new synchronous, bounded channel