pub struct TrafficRates {
pub rxs: f64,
pub txs: f64,
pub rxpps: f64,
pub txpps: f64,
pub arxs: f64,
pub atxs: f64,
pub prxs: f64,
pub ptxs: f64,
}Expand description
Traffic statistics for an interface.
Fields§
§rxs: f64§txs: f64§rxpps: f64Received packets per second in the current sampling window.
txpps: f64Transmitted packets per second in the current sampling window.
arxs: f64§atxs: f64§prxs: f64§ptxs: f64Trait Implementations§
Source§impl Clone for TrafficRates
impl Clone for TrafficRates
impl Copy for TrafficRates
Source§impl Debug for TrafficRates
impl Debug for TrafficRates
Auto Trait Implementations§
impl Forget for TrafficRates
impl Freeze for TrafficRates
impl RefUnwindSafe for TrafficRates
impl Send for TrafficRates
impl Sync for TrafficRates
impl Unpin for TrafficRates
impl UnsafeUnpin for TrafficRates
impl UnwindSafe for TrafficRates
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