Module channel

Source
Expand description

An async aware MPSC channel that can be used on no-alloc systems.

Structs§

Channel
An MPSC channel for use in no-alloc systems. N sets the size of the queue.
NoReceiver
Error state for when the receiver has been dropped.
Receiver
A receiver of the channel. There can only be one receiver at any time.
Sender
A Sender can send to the channel and can be cloned.

Enums§

ReceiveError
Possible receive errors.
TrySendError
Errors that ’try_send` can have.