#[repr(C)]
pub struct sigar_net_interface_stat_t {
Show 14 fields pub rx_packets: sigar_uint64_t, pub rx_bytes: sigar_uint64_t, pub rx_errors: sigar_uint64_t, pub rx_dropped: sigar_uint64_t, pub rx_overruns: sigar_uint64_t, pub rx_frame: sigar_uint64_t, pub tx_packets: sigar_uint64_t, pub tx_bytes: sigar_uint64_t, pub tx_errors: sigar_uint64_t, pub tx_dropped: sigar_uint64_t, pub tx_overruns: sigar_uint64_t, pub tx_collisions: sigar_uint64_t, pub tx_carrier: sigar_uint64_t, pub speed: sigar_uint64_t,
}

Fields§

§rx_packets: sigar_uint64_t§rx_bytes: sigar_uint64_t§rx_errors: sigar_uint64_t§rx_dropped: sigar_uint64_t§rx_overruns: sigar_uint64_t§rx_frame: sigar_uint64_t§tx_packets: sigar_uint64_t§tx_bytes: sigar_uint64_t§tx_errors: sigar_uint64_t§tx_dropped: sigar_uint64_t§tx_overruns: sigar_uint64_t§tx_collisions: sigar_uint64_t§tx_carrier: sigar_uint64_t§speed: sigar_uint64_t

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

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.