pub struct Statistics {Show 24 fields
pub collisions: u64,
pub multicast: u64,
pub rx_bytes: u64,
pub rx_compressed: u64,
pub rx_crc_errors: u64,
pub rx_dropped: u64,
pub rx_errors: u64,
pub rx_fifo_errors: u64,
pub rx_frame_errors: u64,
pub rx_length_erorrs: u64,
pub rx_missed_errors: u64,
pub rx_nohandler: u64,
pub rx_over_errors: u64,
pub rx_packets: u64,
pub tx_aborted_errors: u64,
pub tx_bytes: u64,
pub tx_carrier_errors: u64,
pub tx_compressed: u64,
pub tx_dropped: u64,
pub tx_errors: u64,
pub tx_fifo_errors: u64,
pub tx_heartbeat_errors: u64,
pub tx_packets: u64,
pub tx_window_errors: u64,
}Fields§
§collisions: u64§multicast: u64§rx_bytes: u64§rx_compressed: u64§rx_crc_errors: u64§rx_dropped: u64§rx_errors: u64§rx_fifo_errors: u64§rx_frame_errors: u64§rx_length_erorrs: u64§rx_missed_errors: u64§rx_nohandler: u64§rx_over_errors: u64§rx_packets: u64§tx_aborted_errors: u64§tx_bytes: u64§tx_carrier_errors: u64§tx_compressed: u64§tx_dropped: u64§tx_errors: u64§tx_fifo_errors: u64§tx_heartbeat_errors: u64§tx_packets: u64§tx_window_errors: u64Implementations§
Trait Implementations§
Source§impl Clone for Statistics
impl Clone for Statistics
Source§fn clone(&self) -> Statistics
fn clone(&self) -> Statistics
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 Statistics
impl Debug for Statistics
Source§impl<'de> Deserialize<'de> for Statistics
impl<'de> Deserialize<'de> for Statistics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Statistics
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnsafeUnpin for Statistics
impl UnwindSafe for Statistics
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more