Trait rust_asio::Protocol [] [src]

pub trait Protocol: Clone + Eq + PartialEq {
    fn family_type(&self) -> i32;
    fn socket_type(&self) -> i32;
    fn protocol_type(&self) -> i32;
}

Required Methods

fn family_type(&self) -> i32

Returns a value suitable for passing as the domain argument.

fn socket_type(&self) -> i32

Returns a value suitable for passing as the type argument.

fn protocol_type(&self) -> i32

Returns a value suitable for passing as the protocol argument.

Implementors