#[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§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
)