Crate async_oneshot

Source
Expand description

A fast, small, full-featured async-aware oneshot channel

Unique feature: wait for receiver to be waiting.

Also supports the full range of things you’d expect.

Structs§

Closed
An empty struct that signifies the channel is closed.
Receiver
The receiving half of a oneshot channel.
Sender
The sending half of a oneshot channel.

Enums§

TryRecvError
We couldn’t receive a message.

Functions§

oneshot
Create a new oneshot channel pair.