pub struct ProtocolStackStats {
pub packets_sent: u64,
pub bytes_sent: u64,
pub packets_received: u64,
pub bytes_received: u64,
pub packets_dropped: u64,
pub protocol_errors: u64,
pub active_connections: u64,
}Expand description
Protocol stack statistics
Fields§
§packets_sent: u64Number of packets sent
bytes_sent: u64Number of bytes sent
packets_received: u64Number of packets received
bytes_received: u64Number of bytes received
packets_dropped: u64Number of packets dropped
protocol_errors: u64Number of protocol errors
active_connections: u64Number of active connections
Trait Implementations§
Source§impl Clone for ProtocolStackStats
impl Clone for ProtocolStackStats
Source§fn clone(&self) -> ProtocolStackStats
fn clone(&self) -> ProtocolStackStats
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProtocolStackStats
impl Debug for ProtocolStackStats
Source§impl Default for ProtocolStackStats
impl Default for ProtocolStackStats
Source§fn default() -> ProtocolStackStats
fn default() -> ProtocolStackStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProtocolStackStats
impl RefUnwindSafe for ProtocolStackStats
impl Send for ProtocolStackStats
impl Sync for ProtocolStackStats
impl Unpin for ProtocolStackStats
impl UnwindSafe for ProtocolStackStats
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)