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
impl Clone for otPlatTrelCounters
Source§fn clone(&self) -> otPlatTrelCounters
fn clone(&self) -> otPlatTrelCounters
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 otPlatTrelCounters
impl Debug for otPlatTrelCounters
Source§impl Default for otPlatTrelCounters
impl Default for otPlatTrelCounters
Source§fn default() -> otPlatTrelCounters
fn default() -> otPlatTrelCounters
Returns the “default value” for a type. Read more