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 for sockaddr_nl
impl PartialEq 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 ==
.impl Copy for sockaddr_nl
impl Eq for sockaddr_nl
Auto Trait Implementations§
impl Freeze for sockaddr_nl
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)