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.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more