Trait asio::ip::ToEndpoint
[−]
[src]
pub trait ToEndpoint<P: Protocol> { fn to_endpoint(self) -> IpEndpoint<P>; }
Provides convert to endpoint.
Required Methods
fn to_endpoint(self) -> IpEndpoint<P>
Implementors
impl<P: Protocol> ToEndpoint<P> for (IpAddrV4, u16)
impl<P: Protocol> ToEndpoint<P> for (IpAddrV6, u16)
impl<P: Protocol> ToEndpoint<P> for (IpAddr, u16)
impl<'a, P: Protocol> ToEndpoint<P> for (&'a IpAddrV4, u16)
impl<'a, P: Protocol> ToEndpoint<P> for (&'a IpAddrV6, u16)
impl<'a, P: Protocol> ToEndpoint<P> for (&'a IpAddr, u16)