pub struct PacketCounts {
pub packets_sent: u64,
pub packets_received: u64,
pub unique_replies: u64,
pub duplicates: u64,
pub late_packets: u64,
pub bytes_sent: u64,
pub bytes_received: u64,
pub server_packets_received: Option<u64>,
pub server_received_window: Option<u64>,
}Fields§
§packets_sent: u64§packets_received: u64§unique_replies: u64§duplicates: u64§late_packets: u64§bytes_sent: u64§bytes_received: u64§server_packets_received: Option<u64>§server_received_window: Option<u64>Trait Implementations§
Source§impl Clone for PacketCounts
impl Clone for PacketCounts
Source§fn clone(&self) -> PacketCounts
fn clone(&self) -> PacketCounts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PacketCounts
impl Debug for PacketCounts
Source§impl Default for PacketCounts
impl Default for PacketCounts
Source§fn default() -> PacketCounts
fn default() -> PacketCounts
Returns the “default value” for a type. Read more
Source§impl PartialEq for PacketCounts
impl PartialEq for PacketCounts
Source§fn eq(&self, other: &PacketCounts) -> bool
fn eq(&self, other: &PacketCounts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PacketCounts
impl Eq for PacketCounts
impl StructuralPartialEq for PacketCounts
Auto Trait Implementations§
impl Freeze for PacketCounts
impl RefUnwindSafe for PacketCounts
impl Send for PacketCounts
impl Sync for PacketCounts
impl Unpin for PacketCounts
impl UnsafeUnpin for PacketCounts
impl UnwindSafe for PacketCounts
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