Trait IntoRlpxSubProtocol

pub trait IntoRlpxSubProtocol {
    // Required method
    fn into_rlpx_sub_protocol(self) -> RlpxSubProtocol;
}
Available on crate feature network only.
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§