#[repr(C)]pub struct otNetworkDiagMleCounters {Show 15 fields
pub mDisabledRole: u16,
pub mDetachedRole: u16,
pub mChildRole: u16,
pub mRouterRole: u16,
pub mLeaderRole: u16,
pub mAttachAttempts: u16,
pub mPartitionIdChanges: u16,
pub mBetterPartitionAttachAttempts: u16,
pub mParentChanges: u16,
pub mTrackedTime: u64,
pub mDisabledTime: u64,
pub mDetachedTime: u64,
pub mChildTime: u64,
pub mRouterTime: u64,
pub mLeaderTime: u64,
}
Expand description
Represents a Network Diagnostics MLE Counters value.
Fields§
§mDisabledRole: u16
< Number of times device entered disabled role.
mDetachedRole: u16
< Number of times device entered detached role.
mChildRole: u16
< Number of times device entered child role.
mRouterRole: u16
< Number of times device entered router role.
mLeaderRole: u16
< Number of times device entered leader role.
mAttachAttempts: u16
< Number of attach attempts while device was detached.
mPartitionIdChanges: u16
< Number of changes to partition ID.
mBetterPartitionAttachAttempts: u16
< Number of attempts to attach to a better partition.
mParentChanges: u16
< Number of time device changed its parent.
mTrackedTime: u64
< Milliseconds tracked by next counters (zero if not supported).
mDisabledTime: u64
< Milliseconds device has been in disabled role.
mDetachedTime: u64
< Milliseconds device has been in detached role.
mChildTime: u64
< Milliseconds device has been in child role.
mRouterTime: u64
< Milliseconds device has been in router role.
mLeaderTime: u64
< Milliseconds device has been in leader role.
Trait Implementations§
Source§impl Clone for otNetworkDiagMleCounters
impl Clone for otNetworkDiagMleCounters
Source§fn clone(&self) -> otNetworkDiagMleCounters
fn clone(&self) -> otNetworkDiagMleCounters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for otNetworkDiagMleCounters
impl Debug for otNetworkDiagMleCounters
Source§impl Default for otNetworkDiagMleCounters
impl Default for otNetworkDiagMleCounters
Source§fn default() -> otNetworkDiagMleCounters
fn default() -> otNetworkDiagMleCounters
impl Copy for otNetworkDiagMleCounters
Auto Trait Implementations§
impl Freeze for otNetworkDiagMleCounters
impl RefUnwindSafe for otNetworkDiagMleCounters
impl Send for otNetworkDiagMleCounters
impl Sync for otNetworkDiagMleCounters
impl Unpin for otNetworkDiagMleCounters
impl UnwindSafe for otNetworkDiagMleCounters
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
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)
clone_to_uninit
)