pub struct Stats {
Show 24 fields pub rx_packets: u32, pub tx_packets: u32, pub rx_bytes: u32, pub tx_bytes: u32, pub rx_errors: u32, pub tx_errors: u32, pub rx_dropped: u32, pub tx_dropped: u32, pub multicast: u32, pub collisions: u32, pub rx_length_errors: u32, pub rx_over_errors: u32, pub rx_crc_errors: u32, pub rx_frame_errors: u32, pub rx_fifo_errors: u32, pub rx_missed_errors: u32, pub tx_aborted_errors: u32, pub tx_carrier_errors: u32, pub tx_fifo_errors: u32, pub tx_heartbeat_errors: u32, pub tx_window_errors: u32, pub rx_compressed: u32, pub tx_compressed: u32, pub rx_nohandler: u32,
}

Fields

rx_packets: u32

total packets received

tx_packets: u32

total packets transmitted

rx_bytes: u32

total bytes received

tx_bytes: u32

total bytes transmitted

rx_errors: u32

bad packets received

tx_errors: u32

packet transmit problems

rx_dropped: u32

no space in linux buffers

tx_dropped: u32

no space available in linux

multicast: u32

multicast packets received

collisions: u32rx_length_errors: u32rx_over_errors: u32

receiver ring buff overflow

rx_crc_errors: u32

received packets with crc error

rx_frame_errors: u32

received frame alignment errors

rx_fifo_errors: u32

recv’r fifo overrun

rx_missed_errors: u32

receiver missed packet

tx_aborted_errors: u32tx_carrier_errors: u32tx_fifo_errors: u32tx_heartbeat_errors: u32tx_window_errors: u32rx_compressed: u32tx_compressed: u32rx_nohandler: u32

dropped, no handler found

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Return the length of the serialized data.

Serialize this types and write the serialized data into the given buffer. Read more

Deserialize the current type.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.