pub struct MleCounters {
pub detached_role: Option<u16>,
pub child_role: Option<u16>,
pub router_role: Option<u16>,
pub leader_role: Option<u16>,
pub attach_attempt: Option<u16>,
pub partition_id_change: Option<u16>,
pub better_partition_attach_attempt: Option<u16>,
pub parent_change: Option<u16>,
}Expand description
The MLECNT counters of §11.14.6 — how often this node changed role, re-attached, or
followed a better partition.
Optional in the same way MacCounters is, and for the same reason.
Fields§
§detached_role: Option<u16>DetachedRoleCount (§11.14.6.15).
child_role: Option<u16>ChildRoleCount (§11.14.6.16).
router_role: Option<u16>RouterRoleCount (§11.14.6.17).
leader_role: Option<u16>LeaderRoleCount (§11.14.6.18).
attach_attempt: Option<u16>AttachAttemptCount (§11.14.6.19).
partition_id_change: Option<u16>PartitionIdChangeCount (§11.14.6.20).
better_partition_attach_attempt: Option<u16>BetterPartitionAttachAttemptCount (§11.14.6.21).
parent_change: Option<u16>ParentChangeCount (§11.14.6.22).
Implementations§
Source§impl MleCounters
impl MleCounters
Trait Implementations§
Source§impl Clone for MleCounters
impl Clone for MleCounters
impl Copy for MleCounters
Source§impl Debug for MleCounters
impl Debug for MleCounters
Source§impl Default for MleCounters
impl Default for MleCounters
impl Eq for MleCounters
Source§impl PartialEq for MleCounters
impl PartialEq for MleCounters
impl StructuralPartialEq for MleCounters
Auto Trait Implementations§
impl Forget for MleCounters
impl Freeze for MleCounters
impl Move for MleCounters
impl RefUnwindSafe for MleCounters
impl Send for MleCounters
impl Sync for MleCounters
impl Unpin for MleCounters
impl UnsafeUnpin for MleCounters
impl UnwindSafe for MleCounters
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