Expand description
An unsync oneshot channel implementation.
Structs§
- Oneshot
Channel - An unsynchronized (
!Sync), asynchronous oneshot channel. - Receiver
- An owning handle for receiving elements through a split
OneshotChannel. - Receiver
Ref - A borrowing handle for receiving elements through a split
OneshotChannel. - Recv
Error - An error which can occur when receiving on a closed channel.
- Sender
- An owning handle for sending an element through a split
OneshotChannel. - Sender
Ref - A borrowing handle for sending an element through a split
OneshotChannel.
Functions§
- channel
- Creates a new oneshot channel.