Type Alias otTrelCounters

Source
pub type otTrelCounters = otPlatTrelCounters;
Expand description

Represents a group of TREL related counters in the platform layer.

Aliased Type§

struct otTrelCounters {
    pub mTxPackets: u64,
    pub mTxBytes: u64,
    pub mTxFailure: u64,
    pub mRxPackets: u64,
    pub mRxBytes: u64,
}

Fields§

§mTxPackets: u64

< Number of packets successfully transmitted through TREL.

§mTxBytes: u64

< Sum of size of packets successfully transmitted through TREL.

§mTxFailure: u64

< Number of packet transmission failures through TREL.

§mRxPackets: u64

< Number of packets received through TREL.

§mRxBytes: u64

< Sum of size of packets received through TREL.

Trait Implementations

Source§

impl Clone for otPlatTrelCounters

Source§

fn clone(&self) -> otPlatTrelCounters

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for otPlatTrelCounters

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for otPlatTrelCounters

Source§

fn default() -> otPlatTrelCounters

Returns the “default value” for a type. Read more
Source§

impl Copy for otPlatTrelCounters