Struct nix::sys::socket::NetlinkAddr [−][src]
pub struct NetlinkAddr(pub sockaddr_nl);
Methods
impl NetlinkAddr
[src]
impl NetlinkAddr
pub fn new(pid: u32, groups: u32) -> NetlinkAddr
[src]
pub fn new(pid: u32, groups: u32) -> NetlinkAddr
pub fn pid(&self) -> u32
[src]
pub fn pid(&self) -> u32
pub fn groups(&self) -> u32
[src]
pub fn groups(&self) -> u32
Trait Implementations
impl Copy for NetlinkAddr
[src]
impl Copy for NetlinkAddr
impl Clone for NetlinkAddr
[src]
impl Clone for NetlinkAddr
fn clone(&self) -> NetlinkAddr
[src]
fn clone(&self) -> NetlinkAddr
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 PartialEq for NetlinkAddr
[src]
impl PartialEq for NetlinkAddr
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> 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 NetlinkAddr
[src]
impl Eq for NetlinkAddr
impl Hash for NetlinkAddr
[src]
impl Hash for NetlinkAddr
fn hash<H: Hasher>(&self, s: &mut H)
[src]
fn hash<H: Hasher>(&self, s: &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 Display for NetlinkAddr
[src]
impl Display for NetlinkAddr
Auto Trait Implementations
impl Send for NetlinkAddr
impl Send for NetlinkAddr
impl Sync for NetlinkAddr
impl Sync for NetlinkAddr