Trait asio::Endpoint
[−]
[src]
pub trait Endpoint<P: Protocol>: Clone + Eq + PartialEq + Ord + PartialOrd + Display { fn protocol(&self) -> P; }
Required Methods
fn protocol(&self) -> P
Implementors
impl Endpoint<LocalDgram> for LocalEndpoint<LocalDgram>
impl Endpoint<LocalStream> for LocalEndpoint<LocalStream>
impl Endpoint<LocalSeqPacket> for LocalEndpoint<LocalSeqPacket>
impl Endpoint<Tcp> for IpEndpoint<Tcp>
impl Endpoint<Udp> for IpEndpoint<Udp>
impl Endpoint<Icmp> for IpEndpoint<Icmp>