#[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 more