Trait reth_network::protocol::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§