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

Fields

collisions: Option<u64>multicast: Option<u64>rx_bytes: Option<u64>rx_compressed: Option<u64>rx_crc_errors: Option<u64>rx_dropped: Option<u64>rx_errors: Option<u64>rx_fifo_errors: Option<u64>rx_frame_errors: Option<u64>rx_length_errors: Option<u64>rx_missed_errors: Option<u64>rx_nohandler: Option<u64>rx_over_errors: Option<u64>rx_packets: Option<u64>tx_aborted_errors: Option<u64>tx_bytes: Option<u64>tx_carrier_errors: Option<u64>tx_compressed: Option<u64>tx_dropped: Option<u64>tx_errors: Option<u64>tx_fifo_errors: Option<u64>tx_heartbeat_errors: Option<u64>tx_packets: Option<u64>tx_window_errors: Option<u64>

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

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

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

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.