Expand description
non-async replacement for mpsc channels
Structs§
- Receiver
- The receiving half of Rust’s
channel(orsync_channel) type. This half can only be owned by one thread. - Send
Error - An error returned from the
Sender::sendorSyncSender::sendfunction on channels. - Sender
- The sending-half of Rust’s asynchronous
channeltype.
Functions§
- channel
- Creates a new asynchronous channel, returning the sender/receiver halves.