Struct PacketStats
#[repr(transparent)]pub struct PacketStats(PacketStats);Tuple Fields§
§0: PacketStatsImplementations§
§impl PacketStats
impl PacketStats
pub const fn new() -> Self
pub const fn new() -> Self
Creates a new packet stats with default values.
const fn from_sys_ref(addr: &PacketStats) -> &Self
Trait Implementations§
§impl Clone for PacketStats
impl Clone for PacketStats
§fn clone(&self) -> PacketStats
fn clone(&self) -> PacketStats
Returns a duplicate 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 more§impl Debug for PacketStats
impl Debug for PacketStats
§impl Serialize for PacketStats
Available on crate feature serde only.
impl Serialize for PacketStats
Available on crate feature
serde only.Auto Trait Implementations§
impl Freeze for PacketStats
impl RefUnwindSafe for PacketStats
impl Send for PacketStats
impl Sync for PacketStats
impl Unpin for PacketStats
impl UnwindSafe for PacketStats
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