Struct probes::network::NetworkTraffic
source · pub struct NetworkTraffic {
pub received: u64,
pub transmitted: u64,
}
Expand description
Network traffic in bytes.
Fields§
§received: u64
§transmitted: u64
Trait Implementations§
source§impl Debug for NetworkTraffic
impl Debug for NetworkTraffic
source§impl PartialEq for NetworkTraffic
impl PartialEq for NetworkTraffic
source§fn eq(&self, other: &NetworkTraffic) -> bool
fn eq(&self, other: &NetworkTraffic) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NetworkTraffic
Auto Trait Implementations§
impl Freeze for NetworkTraffic
impl RefUnwindSafe for NetworkTraffic
impl Send for NetworkTraffic
impl Sync for NetworkTraffic
impl Unpin for NetworkTraffic
impl UnwindSafe for NetworkTraffic
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