Crate oneshot_sync

Source
Expand description

Provides a synchronous thread-safe oneshot channel.

Structs§

Receiver
Used to block on a completion signal being observed.
Sender
The sender side of a pair of sender and receiver.
SenderDroppedError
Error indicating the sender was dropped without ever signaling the receiver.

Functions§

channel
Creates a pair of sender and corresponding receiver.