#[repr(C)]pub struct otNetworkDiagMacCounters {
pub mIfInUnknownProtos: u32,
pub mIfInErrors: u32,
pub mIfOutErrors: u32,
pub mIfInUcastPkts: u32,
pub mIfInBroadcastPkts: u32,
pub mIfInDiscards: u32,
pub mIfOutUcastPkts: u32,
pub mIfOutBroadcastPkts: u32,
pub mIfOutDiscards: u32,
}
Expand description
Represents a Network Diagnostic Mac Counters value.
See RFC 2863 for definitions of member fields.
Fields§
§mIfInUnknownProtos: u32
§mIfInErrors: u32
§mIfOutErrors: u32
§mIfInUcastPkts: u32
§mIfInBroadcastPkts: u32
§mIfInDiscards: u32
§mIfOutUcastPkts: u32
§mIfOutBroadcastPkts: u32
§mIfOutDiscards: u32
Trait Implementations§
Source§impl Clone for otNetworkDiagMacCounters
impl Clone for otNetworkDiagMacCounters
Source§fn clone(&self) -> otNetworkDiagMacCounters
fn clone(&self) -> otNetworkDiagMacCounters
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for otNetworkDiagMacCounters
impl Debug for otNetworkDiagMacCounters
Source§impl Default for otNetworkDiagMacCounters
impl Default for otNetworkDiagMacCounters
Source§fn default() -> otNetworkDiagMacCounters
fn default() -> otNetworkDiagMacCounters
Returns the “default value” for a type. Read more
impl Copy for otNetworkDiagMacCounters
Auto Trait Implementations§
impl Freeze for otNetworkDiagMacCounters
impl RefUnwindSafe for otNetworkDiagMacCounters
impl Send for otNetworkDiagMacCounters
impl Sync for otNetworkDiagMacCounters
impl Unpin for otNetworkDiagMacCounters
impl UnwindSafe for otNetworkDiagMacCounters
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)