[][src]Module calloop::channel

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

Channel

The receiving end of the channel

Sender

The sender end of a channel

SyncSender

The sender end of a synchronous channel

Enums

Event

The events generated by the channel event source

Functions

channel

Create a new asynchronous channel

sync_channel

Create a new synchronous, bounded channel