Type Definition pea2pea::protocols::ReturnableConnection [−][src]
pub type ReturnableConnection = (Connection, Sender<Result<Connection>>);
Expand description
An object allowing a Connection
to be “borrowed” from the owning Node
to enable a protocol
and to be sent back to it once it’s done its job.