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 Freeze for NetDev
impl RefUnwindSafe for NetDev
impl Send for NetDev
impl Sync for NetDev
impl Unpin for NetDev
impl UnwindSafe for NetDev
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more