Expand description
Collection of lock-free FIFO channels. These channels are fully asynchronous
and their receivers do not provide any sort of wait-for-message operation.
It would be blocking otherwise, thus not lock-free. If you need such a
mechanism, consider using this channel with a
Condvar or using things like
thread::park (not lock-free).
Modules§
- mpmc
- A lock-free Multi-Producer-Multi-Consumer (MPMC) FIFO channel.
- mpsc
- A lock-free Multi-Producer-Single-Consumer (MPSC) FIFO channel.
- spmc
- A lock-free Single-Producer-Multi-Consumer (SPMC) FIFO channel.
- spsc
- A lock-free Single-Producer-Single-Consumer (SPSC) FIFO channel.
Structs§
- NoRecv
- The error of
Sender::sendoperation. Occurs if all receivers were disconnected.
Enums§
- RecvErr
- The error of
Receiver::recvoperation.