pub struct NetCounters {
pub iface: String,
pub rx_bytes: u64,
pub tx_bytes: u64,
}Expand description
One interface’s cumulative byte counters.
Fields§
§iface: String§rx_bytes: u64§tx_bytes: u64Trait Implementations§
Source§impl Clone for NetCounters
impl Clone for NetCounters
Source§impl Debug for NetCounters
impl Debug for NetCounters
impl Eq for NetCounters
Source§impl PartialEq for NetCounters
impl PartialEq for NetCounters
impl StructuralPartialEq for NetCounters
Auto Trait Implementations§
impl Forget for NetCounters
impl Freeze for NetCounters
impl Move for NetCounters
impl RefUnwindSafe for NetCounters
impl Send for NetCounterswhere
RawVecInner: Send,
impl Sync for NetCounterswhere
RawVecInner: Sync,
impl Unpin for NetCounters
impl UnsafeUnpin for NetCounters
impl UnwindSafe for NetCounterswhere
RawVecInner: UnwindSafe,
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