Enum nix::sys::socket::SockType [−][src]
#[repr(i32)]pub enum SockType { Stream, Datagram, SeqPacket, Raw, Rdm, }
Variants
StreamDatagramSeqPacketRawRdm
Trait Implementations
impl Clone for SockType[src]
impl Clone for SockTypefn clone(&self) -> SockType[src]
fn clone(&self) -> SockTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for SockType[src]
impl Copy for SockTypeimpl PartialEq for SockType[src]
impl PartialEq for SockTypefn eq(&self, other: &SockType) -> bool[src]
fn eq(&self, other: &SockType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for SockType[src]
impl Eq for SockTypeimpl Debug for SockType[src]
impl Debug for SockType