Skip to main content

Module mpsc

Module mpsc 

Source
Expand description

non-async replacement for mpsc channels

Structs§

Receiver
The receiving half of Rust’s channel (or sync_channel) type. This half can only be owned by one thread.
SendError
An error returned from the Sender::send or SyncSender::send function on channels.
Sender
The sending-half of Rust’s asynchronous channel type.

Functions§

channel
Creates a new asynchronous channel, returning the sender/receiver halves.