#[repr(C)]pub struct if_data {Show 22 fields
pub ifi_type: c_uchar,
pub ifi_addrlen: c_uchar,
pub ifi_hdrlen: c_uchar,
pub ifi_link_state: c_uchar,
pub ifi_mtu: u32,
pub ifi_metric: u32,
pub ifi_rdomain: u32,
pub ifi_baudrate: u64,
pub ifi_ipackets: u64,
pub ifi_ierrors: u64,
pub ifi_opackets: u64,
pub ifi_oerrors: u64,
pub ifi_collisions: u64,
pub ifi_ibytes: u64,
pub ifi_obytes: u64,
pub ifi_imcasts: u64,
pub ifi_omcasts: u64,
pub ifi_iqdrops: u64,
pub ifi_oqdrops: u64,
pub ifi_noproto: u64,
pub ifi_capabilities: u32,
pub ifi_lastchange: timeval,
}
Fields
ifi_type: c_uchar
ifi_addrlen: c_uchar
ifi_hdrlen: c_uchar
ifi_link_state: c_uchar
ifi_mtu: u32
ifi_metric: u32
ifi_rdomain: u32
ifi_baudrate: u64
ifi_ipackets: u64
ifi_ierrors: u64
ifi_opackets: u64
ifi_oerrors: u64
ifi_collisions: u64
ifi_ibytes: u64
ifi_obytes: u64
ifi_imcasts: u64
ifi_omcasts: u64
ifi_iqdrops: u64
ifi_oqdrops: u64
ifi_noproto: u64
ifi_capabilities: u32
ifi_lastchange: timeval
Trait Implementations
sourceimpl Hash for if_data
impl Hash for if_data
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Copy for if_data
impl Eq for if_data
impl StructuralEq for if_data
impl StructuralPartialEq for if_data
Auto Trait Implementations
impl RefUnwindSafe for if_data
impl Send for if_data
impl Sync for if_data
impl Unpin for if_data
impl UnwindSafe for if_data
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more