Expand description
Thread safe communication channel implementing Evented
Structs§
- Receiver
- The receiving half of a channel.
- Sender
- The sending half of a channel.
- Sync
Sender - The sending half of a synchronous channel.
Enums§
- Send
Error - An error returned from the
Sender::send
orSyncSender::send
function. - TrySend
Error - An error returned from the
SyncSender::try_send
function.
Functions§
- channel
- Creates a new asynchronous channel, where the
Receiver
can be registered withPoll
. - sync_
channel - Creates a new synchronous, bounded channel where the
Receiver
can be registered withPoll
.