pub struct InterfaceTrafficWindow {
pub rx_bytes: u64,
pub tx_bytes: u64,
}Expand description
Traffic transferred over a rolling interface-counter window.
Fields§
§rx_bytes: u64§tx_bytes: u64Trait Implementations§
Source§impl Clone for InterfaceTrafficWindow
impl Clone for InterfaceTrafficWindow
Source§impl Debug for InterfaceTrafficWindow
impl Debug for InterfaceTrafficWindow
Auto Trait Implementations§
impl Freeze for InterfaceTrafficWindow
impl RefUnwindSafe for InterfaceTrafficWindow
impl Send for InterfaceTrafficWindow
impl Sync for InterfaceTrafficWindow
impl Unpin for InterfaceTrafficWindow
impl UnsafeUnpin for InterfaceTrafficWindow
impl UnwindSafe for InterfaceTrafficWindow
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