Module protocol

Available on crate feature network only.
Expand description

Support for handling additional RLPx-based application-level protocols.

See also https://github.com/ethereum/devp2p/blob/master/README.md

Structs§

RlpxSubProtocol
A wrapper type for a RLPx sub-protocol.
RlpxSubProtocols
Additional RLPx-based sub-protocols.

Enums§

OnNotSupported
What to do when a protocol is not supported by the remote.

Traits§

ConnectionHandler
A trait that allows to authenticate a protocol after the RLPx connection was established.
IntoRlpxSubProtocol
A helper trait to convert a ProtocolHandler into a dynamic type
ProtocolHandler
A trait that allows to offer additional RLPx-based application-level protocols when establishing a peer-to-peer connection.