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
sourceimpl Clone for sockaddr_nl
impl Clone for sockaddr_nl
sourcefn clone(&self) -> sockaddr_nl
fn clone(&self) -> sockaddr_nl
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for sockaddr_nl
impl Debug for sockaddr_nl
sourceimpl Hash for sockaddr_nl
impl Hash for sockaddr_nl
1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Feeds a slice of this type into the given [
Hasher
]. Read moresourceimpl PartialEq<sockaddr_nl> for sockaddr_nl
impl PartialEq<sockaddr_nl> for sockaddr_nl
sourcefn eq(&self, other: &sockaddr_nl) -> bool
fn eq(&self, other: &sockaddr_nl) -> bool
impl Copy for sockaddr_nl
impl Eq for sockaddr_nl
Auto Trait Implementations
impl RefUnwindSafe for sockaddr_nl
impl Send for sockaddr_nl
impl Sync for sockaddr_nl
impl Unpin for sockaddr_nl
impl UnwindSafe for sockaddr_nl
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more