Module unbounded

Source
Expand description

An unbounded MPSC channel implementation.

Structs§

UnboundedChannel
An unsynchronized (!Sync), asynchronous and unbounded channel.
UnboundedReceiver
An owning handle for receiving elements through a split unbounded UnboundedChannel.
UnboundedReceiverRef
A borrowing handle for receiving elements through a split unbounded UnboundedChannel.
UnboundedSender
An owned handle for sending elements through an unbounded split UnboundedChannel.
UnboundedSenderRef
A borrowing handle for sending elements through an unbounded split UnboundedChannel.

Functions§

channel
Returns a new unbounded channel.
channel_from_iter
Returns a new unbounded channel with pre-queued elements.