Module oneshot

Source
Expand description

An unsync oneshot channel implementation.

Structs§

OneshotChannel
An unsynchronized (!Sync), asynchronous oneshot channel.
ReceiverRef
A borrowing handle for receiving elements through a split OneshotChannel.
RecvError
An error which can occur when receiving on a closed channel.
SenderRef
A borrowing handle for sending an element through a split OneshotChannel.

Functions§

channel
Creates a new oneshot channel.