Settings
Help

Module proto_oneshot

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