Module proto_oneshot

Source
Expand description

oneshot channel between a circuit control message handler and the main code

Wraps up a oneshot and deals with some error handling.

Used by connect

Structs§

Receiver 🔒
Receiver for awaiting the protocol message when the circuit handler sends it
Sender 🔒
Sender, owned by the circuit message handler

Functions§

channel 🔒
Create a new proto_oneshot::Sender and proto_oneshot::Receiver