Struct libc::sockaddr_nl
source · #[repr(C)]pub struct sockaddr_nl {
pub nl_family: sa_family_t,
pub nl_pid: u32,
pub nl_groups: u32,
/* private fields */
}
Fields§
§nl_family: sa_family_t
§nl_pid: u32
§nl_groups: u32
Trait Implementations§
source§impl Clone for sockaddr_nl
impl Clone for sockaddr_nl
source§fn clone(&self) -> sockaddr_nl
fn clone(&self) -> sockaddr_nl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for sockaddr_nl
impl Debug for sockaddr_nl
source§impl Hash for sockaddr_nl
impl Hash for sockaddr_nl
source§impl PartialEq<sockaddr_nl> for sockaddr_nl
impl PartialEq<sockaddr_nl> for sockaddr_nl
source§fn eq(&self, other: &sockaddr_nl) -> bool
fn eq(&self, other: &sockaddr_nl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.