reth_network::protocol

Trait IntoRlpxSubProtocol

Source
pub trait IntoRlpxSubProtocol {
    // Required method
    fn into_rlpx_sub_protocol(self) -> RlpxSubProtocol;
}
Expand description

A helper trait to convert a ProtocolHandler into a dynamic type

Required Methods§

Source

fn into_rlpx_sub_protocol(self) -> RlpxSubProtocol

Converts the type into a RlpxSubProtocol.

Implementors§