Struct pea2pea::protocols::ProtocolHandler [−][src]
pub struct ProtocolHandler { /* fields omitted */ }
Expand description
An object dedicated to managing a protocol; it contains a Sender
whose other side is
owned by the protocol’s task.
Implementations
Sends a returnable Connection
to a task spawned by the protocol handler.
Trait Implementations
Performs the conversion.