pub struct Flow {
pub current_bps: Option<u64>,
pub max_bps: Option<u64>,
pub utilization_percent: Option<f64>,
pub peak_bps: Option<u64>,
pub total_bytes: Option<u64>,
pub total_packets: Option<u64>,
pub multicast_bps: Option<u64>,
pub priorities: Option<Priorities>,
}Expand description
The traffic in one direction. Values the device does not report are
None.
Fields§
§current_bps: Option<u64>The latest rate the device measured, in bit/s.
max_bps: Option<u64>The highest rate the line allows now, in bit/s.
utilization_percent: Option<f64>The current rate in percent of the highest.
peak_bps: Option<u64>The highest of the recent rates the device keeps, in bit/s.
total_bytes: Option<u64>The bytes since the connection started.
total_packets: Option<u64>The packets since the connection started.
multicast_bps: Option<u64>Of the downstream, the latest rate of multicast, like IPTV, in bit/s.
priorities: Option<Priorities>Of the upstream, the latest rates by priority class.
Trait Implementations§
impl StructuralPartialEq for Flow
Auto Trait Implementations§
impl Forget for Flow
impl Freeze for Flow
impl Move for Flow
impl RefUnwindSafe for Flow
impl Send for Flow
impl Sync for Flow
impl Unpin for Flow
impl UnsafeUnpin for Flow
impl UnwindSafe for Flow
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