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§
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".