Struct openthread_sys::otNat64Counters
source · #[repr(C)]pub struct otNat64Counters {
pub m4To6Packets: u64,
pub m4To6Bytes: u64,
pub m6To4Packets: u64,
pub m6To4Bytes: u64,
}
Expand description
Represents the counters for NAT64.
Fields§
§m4To6Packets: u64
< Number of packets translated from IPv4 to IPv6.
m4To6Bytes: u64
< Sum of size of packets translated from IPv4 to IPv6.
m6To4Packets: u64
< Number of packets translated from IPv6 to IPv4.
m6To4Bytes: u64
< Sum of size of packets translated from IPv6 to IPv4.
Trait Implementations§
source§impl Clone for otNat64Counters
impl Clone for otNat64Counters
source§fn clone(&self) -> otNat64Counters
fn clone(&self) -> otNat64Counters
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 otNat64Counters
impl Debug for otNat64Counters
source§impl Default for otNat64Counters
impl Default for otNat64Counters
source§fn default() -> otNat64Counters
fn default() -> otNat64Counters
Returns the “default value” for a type. Read more
impl Copy for otNat64Counters
Auto Trait Implementations§
impl Freeze for otNat64Counters
impl RefUnwindSafe for otNat64Counters
impl Send for otNat64Counters
impl Sync for otNat64Counters
impl Unpin for otNat64Counters
impl UnwindSafe for otNat64Counters
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
)