ToProtocol

Trait ToProtocol 

Source
pub trait ToProtocol<P> {
    // Required method
    fn to_protocol(self) -> P;
}
Expand description

Trait to wrap specific types into the Protocol Enum.

Required Methods§

Source

fn to_protocol(self) -> P

Implementors§