Struct procinfo::net::dev::DeviceStatus [−][src]
Network device status information.
See man 5 proc
and Linux/net/core/net-procfs.c
Fields
interface: String
Name of the interface representing this device.
receive_bytes: u64
Number of received bytes.
receive_packets: u64
Number of received packets.
receive_errs: u64
Number of bad packets received.
receive_drop: u64
Number of incoming packets dropped.
receive_fifo: u64
Number of incoming packets dropped due to fifo overrun.
receive_frame: u64
Number of incoming packets dropped due to frame alignment errors.
receive_compressed: u64
Number of CSLIP packets received.
receive_multicast: u64
Number of multicast packets received.
transmit_bytes: u64
Number of transmitted bytes.
transmit_packets: u64
Number of transmitted packets.
transmit_errs: u64
Number of occurred transmission problems.
transmit_drop: u64
Number of outgoing packets dropped.
transmit_fifo: u64
Number of outgoing packets dropped due to fifo overrun.
transmit_colls: u64
Number of occurred packet collisions.
transmit_carrier: u64
Number of occurred carrier errors.
transmit_compressed: u64
Number of CSLIP packets transmitted.
Auto Trait Implementations
impl RefUnwindSafe for DeviceStatus
impl Send for DeviceStatus
impl Sync for DeviceStatus
impl Unpin for DeviceStatus
impl UnwindSafe for DeviceStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,