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§fn clone(&self) -> InterfaceRates
fn clone(&self) -> InterfaceRates
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InterfaceRates
impl Debug for InterfaceRates
Source§impl Default for InterfaceRates
impl Default for InterfaceRates
Source§fn default() -> InterfaceRates
fn default() -> InterfaceRates
Returns the “default value” for a type. Read more
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