Available on crate feature
full only.Expand description
An async multi-producer, single-consumer channel
A new channel can be created by calling unbounded() which returns a Sender and Receiver.
The Sender can be [clone]d, while the Receiver cannot.
New items can be pushed to the back of the queue with Sender::push(), and items can be popped
with Receiver::pop() or Receiver::try_pop().
Structs§
- Channel
Inner 🔒 - Receiver
- The receiving end of a channel
- Sender
- The sending end of a channel
Functions§
- unbounded
- Creates a new unbounded chanel