Module oneshot
A single-producer, single-consumer (oneshot) channel.
This is an experimental module, so the API will likely change.
Structs
Enums
-
RecvTimeoutError
An error returned from the
recv_timeoutorrecv_deadlinemethods. -
TryRecvError
An error returned from the
try_recvmethod.
Functions
- channel Creates a new oneshot channel, returning the sender/receiver halves.