Enum libresolv_sys::__socket_type [] [src]

pub enum __socket_type {
    SOCK_STREAM,
    SOCK_DGRAM,
    SOCK_RAW,
    SOCK_RDM,
    SOCK_SEQPACKET,
    SOCK_DCCP,
    SOCK_PACKET,
    SOCK_CLOEXEC,
    SOCK_NONBLOCK,
}

Variants

SOCK_STREAMSOCK_DGRAMSOCK_RAWSOCK_RDMSOCK_SEQPACKETSOCK_DCCPSOCK_PACKETSOCK_CLOEXECSOCK_NONBLOCK

Trait Implementations

impl Clone for __socket_type
[src]

fn clone(&self) -> __socket_type

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for __socket_type
[src]

impl Debug for __socket_type
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.