Trait IntoEndpoint

Source
pub trait IntoEndpoint<P: Protocol> {
    // Required method
    fn into_endpoint(self, port: u16) -> IpEndpoint<P>;
}
Expand description

Provides conversion to a IP-endpoint.

Required Methods§

Source

fn into_endpoint(self, port: u16) -> IpEndpoint<P>

Implementors§