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§
- Rlpx
SubProtocol - A wrapper type for a
RLPx
sub-protocol. - Rlpx
SubProtocols - Additional RLPx-based sub-protocols.
Enums§
- OnNot
Supported - What to do when a protocol is not supported by the remote.
Traits§
- Connection
Handler - A trait that allows to authenticate a protocol after the
RLPx
connection was established. - Into
Rlpx SubProtocol - A helper trait to convert a
ProtocolHandler
into a dynamic type - Protocol
Handler - A trait that allows to offer additional RLPx-based application-level protocols when establishing a peer-to-peer connection.