Available on crate feature std only.
Expand description

A synchronous multi-producer, single-consumer channel.

This provides an equivalent API to the mpsc module, but the Receiver types in this module wait by blocking the current thread, rather than asynchronously yielding.

Structs

Synchronously sends values to an associated Receiver.

A reference to a message being received from a blocking channel.

A reference to a message being sent to a blocking channel.

Synchronously receives values from associated Senders.

A statically-allocated, blocking bounded MPSC channel.

Synchronously receives values from associated StaticSenders.

Synchronously sends values to an associated StaticReceiver.

Functions

Returns a new synchronous multi-producer, single consumer (MPSC) channel with the provided capacity.

Returns a new synchronous multi-producer, single consumer channel with the provided recycling policy.