pub struct InterfaceRates {
pub rx_bytes_per_sec: u64,
pub tx_bytes_per_sec: u64,
}Expand description
Rate calculations for interface statistics
Fields§
§rx_bytes_per_sec: u64§tx_bytes_per_sec: u64Trait Implementations§
Source§impl Clone for InterfaceRates
impl Clone for InterfaceRates
Source§impl Debug for InterfaceRates
impl Debug for InterfaceRates
Auto Trait Implementations§
impl Freeze for InterfaceRates
impl RefUnwindSafe for InterfaceRates
impl Send for InterfaceRates
impl Sync for InterfaceRates
impl Unpin for InterfaceRates
impl UnsafeUnpin for InterfaceRates
impl UnwindSafe for InterfaceRates
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