Skip to main content

IntoEndpoint

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>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§