Trait asyncio::Endpoint
[−]
[src]
pub trait Endpoint<P>: SockAddr { fn protocol(&self) -> P; }
Required Methods
fn protocol(&self) -> P
Implementors
impl<P: IpProtocol> Endpoint<P> for IpEndpoint<P>
impl Endpoint<LocalDgram> for LocalEndpoint<LocalDgram>
impl Endpoint<LocalStream> for LocalEndpoint<LocalStream>
impl Endpoint<LocalSeqPacket> for LocalEndpoint<LocalSeqPacket>
impl Endpoint<GenericStream> for GenericEndpoint<GenericStream>
impl Endpoint<GenericDgram> for GenericEndpoint<GenericDgram>
impl Endpoint<GenericRaw> for GenericEndpoint<GenericRaw>
impl Endpoint<GenericSeqPacket> for GenericEndpoint<GenericSeqPacket>