Trait NetworkProtocols
pub trait NetworkProtocols: Send + Sync {
// Required method
fn add_rlpx_sub_protocol(&self, protocol: RlpxSubProtocol);
}
Expand description
Provides access to modify the network’s additional protocol handlers.
Required Methods§
fn add_rlpx_sub_protocol(&self, protocol: RlpxSubProtocol)
fn add_rlpx_sub_protocol(&self, protocol: RlpxSubProtocol)
Adds an additional protocol handler to the RLPx
sub-protocol list.