Enum libresolv_sys::__socket_type
[−]
[src]
#[repr(u32)]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_NONBLOCKTrait Implementations
impl Copy for __socket_type[src]
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