Expand description
Cloneable MPMC channels for the selected backend.
Modules§
- mpsc
- Standard-library-style MPSC channels selected with the executor backend.
Macros§
- select
- Selects from a set of channel operations.
- select_
biased - Selects from a set of channel operations.
Structs§
- Into
Iter - A blocking iterator over messages in a channel.
- Iter
- A blocking iterator over messages in a channel.
- Ready
Timeout Error - An error returned from the
ready_timeoutmethod. - Receiver
- The receiving side of a channel.
- Recv
Error - An error returned from the
recvmethod. - Select
- Selects from a set of channel operations.
- Select
Timeout Error - An error returned from the
select_timeoutmethod. - Selected
Operation - A selected operation that needs to be completed.
- Send
Error - An error returned from the
sendmethod. - Sender
- The sending side of a channel.
- TryIter
- A non-blocking iterator over messages in a channel.
- TryReady
Error - An error returned from the
try_readymethod. - TrySelect
Error - An error returned from the
try_selectmethod.
Enums§
- Recv
Timeout Error - An error returned from the
recv_timeoutmethod. - Send
Timeout Error - An error returned from the
send_timeoutmethod. - TryRecv
Error - An error returned from the
try_recvmethod. - TrySend
Error - An error returned from the
try_sendmethod.
Functions§
- after
- Creates a receiver that delivers a message after a certain duration of time.
- at
- Creates a receiver that delivers a message at a certain instant in time.
- bounded
- Creates a channel of bounded capacity.
- never
- Creates a receiver that never delivers messages.
- send_
or_ cancel - Selects between sending a value and receiving a cancellation message or disconnection.
- tick
- Creates a receiver that delivers messages periodically.
- unbounded
- Creates a channel of unbounded capacity.