Module oneshot
Expand description
A channel that can pass one single value from a sender to a receiver.
Structs§
- Receiver
- The receiver of a oneshot channel.
- Recv
Error - Error returned when the channel is closed before a value is sent to the
Receiver
. - Sender
- The sender of a oneshot channel.
Functions§
- channel
- Creates a oneshot channel.