Module corcovado::channel

source ·
Expand description

Thread safe communication channel implementing Evented

Structs§

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

Enums§

  • An error returned from the Sender::send or SyncSender::send function.
  • An error returned from the SyncSender::try_send function.

Functions§

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