Struct sockaddr_nl

#[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

impl Clone for sockaddr_nl

fn clone(&self) -> sockaddr_nl

impl Copy for sockaddr_nl

impl Debug for sockaddr_nl

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

impl Eq for sockaddr_nl

impl Hash for sockaddr_nl

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for sockaddr_nl

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

impl StructuralPartialEq 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 UnsafeUnpin for sockaddr_nl

impl UnwindSafe for sockaddr_nl

Blanket Implementations

impl<T> Any for sockaddr_nl where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for sockaddr_nl where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for sockaddr_nl where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for sockaddr_nl where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for sockaddr_nl

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for sockaddr_nl where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for sockaddr_nl where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for sockaddr_nl where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>