Struct nix::sys::socket::NetlinkAddr [] [src]

pub struct NetlinkAddr(pub sockaddr_nl);

Methods

impl NetlinkAddr
[src]

fn new(pid: u32, groups: u32) -> NetlinkAddr

fn pid(&self) -> u32

fn groups(&self) -> u32

Trait Implementations

impl Clone for NetlinkAddr
[src]

fn clone(&self) -> NetlinkAddr

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for NetlinkAddr
[src]

impl PartialEq for NetlinkAddr
[src]

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Eq for NetlinkAddr
[src]

impl Hash for NetlinkAddr
[src]

fn hash<H: Hasher>(&self, s: &mut H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl Display for NetlinkAddr
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.