Statistics

Struct Statistics 

Source
#[repr(C)]
pub struct Statistics {
Show 26 fields pub rx_total_frames: u64, pub rx_good_frames: u64, pub rx_undersize_frames: u64, pub rx_oversize_frames: u64, pub rx_dropped_frames: u64, pub rx_unicast_frames: u64, pub rx_broadcast_frames: u64, pub rx_multicast_frames: u64, pub rx_crc_error_frames: u64, pub rx_total_bytes: u64, pub tx_total_frames: u64, pub tx_good_frames: u64, pub tx_undersize_frames: u64, pub tx_oversize_frames: u64, pub tx_dropped_frames: u64, pub tx_unicast_frames: u64, pub tx_broadcast_frames: u64, pub tx_multicast_frames: u64, pub tx_crc_error_frames: u64, pub tx_total_bytes: u64, pub collisions: u64, pub unsupported_protocol: u64, pub rx_duplicated_frames: u64, pub rx_decrypt_error_frames: u64, pub tx_error_frames: u64, pub tx_retry_frames: u64,
}

Fields§

§rx_total_frames: u64§rx_good_frames: u64§rx_undersize_frames: u64§rx_oversize_frames: u64§rx_dropped_frames: u64§rx_unicast_frames: u64§rx_broadcast_frames: u64§rx_multicast_frames: u64§rx_crc_error_frames: u64§rx_total_bytes: u64§tx_total_frames: u64§tx_good_frames: u64§tx_undersize_frames: u64§tx_oversize_frames: u64§tx_dropped_frames: u64§tx_unicast_frames: u64§tx_broadcast_frames: u64§tx_multicast_frames: u64§tx_crc_error_frames: u64§tx_total_bytes: u64§collisions: u64§unsupported_protocol: u64§rx_duplicated_frames: u64§rx_decrypt_error_frames: u64§tx_error_frames: u64§tx_retry_frames: u64

Trait Implementations§

Source§

impl Clone for Statistics

Source§

fn clone(&self) -> Statistics

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Statistics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for Statistics

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.