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§
Sourcefn into_rlpx_sub_protocol(self) -> RlpxSubProtocol
fn into_rlpx_sub_protocol(self) -> RlpxSubProtocol
Converts the type into a RlpxSubProtocol.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".