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 Pimpl<P: Protocol> IntoEndpoint<P> for IpAddrV4impl<P: Protocol> IntoEndpoint<P> for IpAddrV6impl<P: Protocol> IntoEndpoint<P> for IpAddrimpl<'a, P: Protocol> IntoEndpoint<P> for &'a IpAddrV4impl<'a, P: Protocol> IntoEndpoint<P> for &'a IpAddrV6impl<'a, P: Protocol> IntoEndpoint<P> for &'a IpAddr