Trait asyncio::ip::IntoEndpoint
[−]
[src]
pub trait IntoEndpoint<P: Protocol> { fn into_endpoint(self, port: u16) -> IpEndpoint<P>; }
Provides conversion to a IP-endpoint.
Required Methods
fn into_endpoint(self, port: u16) -> IpEndpoint<P>
Implementors
impl<P: IpProtocol> IntoEndpoint<P> for P
impl<P: Protocol> IntoEndpoint<P> for IpAddrV4
impl<P: Protocol> IntoEndpoint<P> for IpAddrV6
impl<P: Protocol> IntoEndpoint<P> for IpAddr
impl<'a, P: Protocol> IntoEndpoint<P> for &'a IpAddrV4
impl<'a, P: Protocol> IntoEndpoint<P> for &'a IpAddrV6
impl<'a, P: Protocol> IntoEndpoint<P> for &'a IpAddr