#[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
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
impl Copy 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)