Module mdrv::channel

source ·

Structs

The receiving half of a channel.
The sending half of a channel.

Enums

An error returned from the Sender::send or SyncSender::send function.
This enumeration is the list of the possible reasons that try_recv could not return data when called. This can occur with both a channel and a sync_channel.

Functions

Creates a new asynchronous channel, where the Receiver can be registered with Poll.