reth::network::protocol

Trait IntoRlpxSubProtocol

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§

fn into_rlpx_sub_protocol(self) -> RlpxSubProtocol

Converts the type into a RlpxSubProtocol.

Implementors§