Module mpsc

Source

Structs§

Receiver
SendError
An error that may be emitted when attempting to send a value into a channel on a sender when all receivers are dropped.
Sender
Tracked
Tracker
UnboundedReceiver
UnboundedSender

Enums§

TryRecvError
An error that may be emitted when attempting to fetch a value on a receiver when there are no messages in the channel. If there are no messages in the channel and all senders are dropped, then TryRecvError::Disconnected will be returned.
TrySendError
An error that may be emitted when attempting to send a value into a channel on a sender when the channel is full or all receivers are dropped.

Functions§

channel
tracked_unbounded_channel
unbounded_channel

Type Aliases§

RecvStream
TrackedUnboundedReceiver
TrackedUnboundedSender