Module mpsc

Module mpsc 

Source
Expand description

A fixed-capacity multi-producer, single-consumer channel.

The producer can be cloned, and the sender task is suspended if the channel becomes full.

Structs§

Receiver
The receiver half of an mpsc channel. Cannot be cloned.
Sender
The sender half of an mpsc channel. Can send messages with the postage::Sink trait.

Functions§

channel