Struct linux_raw_sys::netlink::sockaddr_nl
source · #[repr(C)]pub struct sockaddr_nl {
pub nl_family: __kernel_sa_family_t,
pub nl_pad: c_ushort,
pub nl_pid: __u32,
pub nl_groups: __u32,
}
Fields§
§nl_family: __kernel_sa_family_t
§nl_pad: c_ushort
§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
impl Copy 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: 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
)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
)