Struct openthread_sys::otIpCounters
source · #[repr(C)]pub struct otIpCounters {
pub mTxSuccess: u32,
pub mRxSuccess: u32,
pub mTxFailure: u32,
pub mRxFailure: u32,
}
Expand description
Represents the IP level counters.
Fields§
§mTxSuccess: u32
< The number of IPv6 packets successfully transmitted.
mRxSuccess: u32
< The number of IPv6 packets successfully received.
mTxFailure: u32
< The number of IPv6 packets failed to transmit.
mRxFailure: u32
< The number of IPv6 packets failed to receive.
Trait Implementations§
source§impl Clone for otIpCounters
impl Clone for otIpCounters
source§fn clone(&self) -> otIpCounters
fn clone(&self) -> otIpCounters
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 otIpCounters
impl Debug for otIpCounters
source§impl Default for otIpCounters
impl Default for otIpCounters
source§fn default() -> otIpCounters
fn default() -> otIpCounters
Returns the “default value” for a type. Read more
impl Copy for otIpCounters
Auto Trait Implementations§
impl Freeze for otIpCounters
impl RefUnwindSafe for otIpCounters
impl Send for otIpCounters
impl Sync for otIpCounters
impl Unpin for otIpCounters
impl UnwindSafe for otIpCounters
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)