Struct linux_procfs::netdevs::NetDev
source · [−]pub struct NetDev {
pub name: String,
pub rx_bytes: u64,
pub rx_packets: u64,
pub tx_bytes: u64,
pub tx_packets: u64,
}
Fields
name: String
rx_bytes: u64
rx_packets: u64
tx_bytes: u64
tx_packets: u64
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NetDev
impl Send for NetDev
impl Sync for NetDev
impl Unpin for NetDev
impl UnwindSafe for NetDev
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more