Expand description
An asynchronous, single-message channel for no_std environments.
Structs§
- Channel
- A handle to a oneshot channel that owns the shared state.
- Receiver
- The receiving half of a oneshot channel.
- Recv
Error - An error returned by
Receiver::recvif theSenderhas been dropped. - Send
Error - An error returned by
Sender::sendif theReceiverhas been dropped. - Sender
- The sending half of a oneshot channel.
Functions§
- channel
- Creates a new oneshot channel, returning the owning
Channelhandle.