#[repr(C)]pub struct ifmibdata {
pub ifmd_name: [i8; 16],
pub ifmd_pcount: u32,
pub ifmd_flags: u32,
pub ifmd_snd_len: u32,
pub ifmd_snd_maxlen: u32,
pub ifmd_snd_drops: u32,
pub ifmd_filler: [u32; 4],
pub ifmd_data: if_data64,
}Fields§
§ifmd_name: [i8; 16]Name of interface
ifmd_pcount: u32Number of promiscuous listeners
ifmd_flags: u32Interface flags
ifmd_snd_len: u32Instantaneous length of send queue
ifmd_snd_maxlen: u32Maximum length of send queue
ifmd_snd_drops: u32Number of drops in send queue
ifmd_filler: [u32; 4]For future expansion
ifmd_data: if_data64Generic information and statistics
Trait Implementations§
impl Copy for ifmibdata
impl Eq for ifmibdata
impl StructuralPartialEq for ifmibdata
Auto Trait Implementations§
impl Freeze for ifmibdata
impl RefUnwindSafe for ifmibdata
impl Send for ifmibdata
impl Sync for ifmibdata
impl Unpin for ifmibdata
impl UnwindSafe for ifmibdata
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more