Module async_unsync::oneshot
source · Expand description
An unsync oneshot channel implementation.
Structs
- An unsynchronized (
!Sync
), asynchronous oneshot channel. - An owning handle for receiving elements through a split
OneshotChannel
. - A borrowing handle for receiving elements through a split
OneshotChannel
. - An error which can occur when receiving on a closed channel.
- An owning handle for sending an element through a split
OneshotChannel
. - A borrowing handle for sending an element through a split
OneshotChannel
.
Functions
- Creates a new oneshot channel.