Expand description
An unsync oneshot channel implementation.
Structs§
- Oneshot
Channel - An unsynchronized (
!Sync
), asynchronous oneshot channel. - 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
Ref - A borrowing handle for sending an element through a split
OneshotChannel
.
Functions§
- channel
- Creates a new oneshot channel.