Trait asyncio::ip::IpProtocol [] [src]

pub trait IpProtocol: Protocol + Eq {
    fn v4() -> Self;
    fn v6() -> Self;

    fn is_v4(&self) -> bool { ... }
    fn is_v6(&self) -> bool { ... }
}

Required Methods

Provided Methods

Implementors