pub struct BandwidthSummary {
pub total_transfers: usize,
pub total_bytes: usize,
pub total_time_ms: f64,
pub avg_bandwidth_gbps: f64,
pub peak_bandwidth_gbps: f64,
pub per_direction: Vec<DirectionSummary>,
}Expand description
Aggregated bandwidth statistics across all recorded measurements.
Fields§
§total_transfers: usizeTotal number of transfers recorded.
total_bytes: usizeTotal bytes transferred across all measurements.
total_time_ms: f64Total wall-clock time of all transfers in milliseconds.
avg_bandwidth_gbps: f64Average bandwidth in GB/s across all measurements.
peak_bandwidth_gbps: f64Peak (maximum) bandwidth observed in any single measurement.
per_direction: Vec<DirectionSummary>Per-direction breakdown of statistics.
Trait Implementations§
Source§impl Clone for BandwidthSummary
impl Clone for BandwidthSummary
Source§fn clone(&self) -> BandwidthSummary
fn clone(&self) -> BandwidthSummary
Returns a duplicate of the value. Read more
1.0.0 · 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 BandwidthSummary
impl Debug for BandwidthSummary
Auto Trait Implementations§
impl Freeze for BandwidthSummary
impl RefUnwindSafe for BandwidthSummary
impl Send for BandwidthSummary
impl Sync for BandwidthSummary
impl Unpin for BandwidthSummary
impl UnsafeUnpin for BandwidthSummary
impl UnwindSafe for BandwidthSummary
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