#[repr(C)]pub struct otPlatTrelCounters {
pub mTxPackets: u64,
pub mTxBytes: u64,
pub mTxFailure: u64,
pub mRxPackets: u64,
pub mRxBytes: u64,
}Expand description
Represents a group of TREL related counters in the platform layer.
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
impl Copy for otPlatTrelCounters
Source§impl Debug for otPlatTrelCounters
impl Debug for otPlatTrelCounters
Auto Trait Implementations§
impl Freeze for otPlatTrelCounters
impl RefUnwindSafe for otPlatTrelCounters
impl Send for otPlatTrelCounters
impl Sync for otPlatTrelCounters
impl Unpin for otPlatTrelCounters
impl UnsafeUnpin for otPlatTrelCounters
impl UnwindSafe for otPlatTrelCounters
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