Struct ifinfomsg

#[repr(C)]
pub struct ifinfomsg { pub ifi_family: c_uchar, pub ifi_type: c_ushort, pub ifi_index: c_int, pub ifi_flags: c_uint, pub ifi_change: c_uint, /* private fields */ }

Fields

ifi_family: c_uchar
ifi_type: c_ushort
ifi_index: c_int
ifi_flags: c_uint
ifi_change: c_uint

Trait Implementations

impl Clone for ifinfomsg

fn clone(&self) -> ifinfomsg

impl Copy for ifinfomsg

impl Debug for ifinfomsg

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

impl Eq for ifinfomsg

impl Hash for ifinfomsg

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

impl PartialEq for ifinfomsg

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

impl StructuralPartialEq for ifinfomsg

Auto Trait Implementations

impl Freeze for ifinfomsg

impl RefUnwindSafe for ifinfomsg

impl Send for ifinfomsg

impl Sync for ifinfomsg

impl Unpin for ifinfomsg

impl UnsafeUnpin for ifinfomsg

impl UnwindSafe for ifinfomsg

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for ifinfomsg

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for ifinfomsg 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 ifinfomsg where U: Into<T>,

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

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

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