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