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