Enum nix::sys::socket::SockType [−][src]
#[repr(i32)]pub enum SockType { Stream, Datagram, SeqPacket, Raw, Rdm, }
Variants
Stream
Datagram
SeqPacket
Raw
Rdm
Trait Implementations
impl Clone for SockType
[src]
impl Clone for SockType
fn clone(&self) -> SockType
[src]
fn clone(&self) -> SockType
Returns 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 SockType
impl PartialEq for SockType
[src]
impl PartialEq for SockType
fn eq(&self, other: &SockType) -> bool
[src]
fn eq(&self, other: &SockType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for SockType
[src]
impl Eq for SockType
impl Debug for SockType
[src]
impl Debug for SockType