Enum nix::sys::socket::SockLevel [−][src]
#[repr(i32)]pub enum SockLevel { Socket, Tcp, Ip, Ipv6, Udp, Netlink, }
The protocol level at which to get / set socket options. Used as an
argument to getsockopt and setsockopt.
Variants
SocketTcpIpIpv6UdpNetlinkTrait Implementations
impl Clone for SockLevel[src]
impl Clone for SockLevelfn clone(&self) -> SockLevel[src]
fn clone(&self) -> SockLevelReturns 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 SockLevel[src]
impl Copy for SockLevelimpl Debug for SockLevel[src]
impl Debug for SockLevelfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for SockLevel[src]
impl Eq for SockLevelimpl Hash for SockLevel[src]
impl Hash for SockLevelfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for SockLevel[src]
impl PartialEq for SockLevel