Expand description
Multi-producer single-consumer (MPSC) channel.
Provides both bounded and unbounded variants. Senders are Clone; the
Receiver is unique. Dropping all Senders closes the channel so recv
returns None.
Structs§
- Receiver
- Receiving half of either channel variant. Not
Clone. - Recv
Future - Future returned by
Receiver::recv. - Send
Future - Future returned by
Sender::send. - Sender
- Sending half of a bounded MPSC channel.
- Unbounded
Sender - Sending half of an unbounded MPSC channel.