pub struct BandwidthSnapshot {
pub bottleneck_bw_bps: u64,
pub min_rtt: Duration,
pub pacing_rate_bps: u64,
pub cwnd_bytes: u64,
pub inflight_bytes: u64,
}Expand description
Read-only snapshot of the session’s pacing / bandwidth state
(Phase 2.6). Returned by Session::bandwidth_snapshot for
telemetry / debugging without exposing the mutable estimator.
Fields§
§bottleneck_bw_bps: u64§min_rtt: Duration§pacing_rate_bps: u64§cwnd_bytes: u64§inflight_bytes: u64Trait Implementations§
Source§impl Clone for BandwidthSnapshot
impl Clone for BandwidthSnapshot
Source§fn clone(&self) -> BandwidthSnapshot
fn clone(&self) -> BandwidthSnapshot
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 moreimpl Copy for BandwidthSnapshot
Auto Trait Implementations§
impl Freeze for BandwidthSnapshot
impl RefUnwindSafe for BandwidthSnapshot
impl Send for BandwidthSnapshot
impl Sync for BandwidthSnapshot
impl Unpin for BandwidthSnapshot
impl UnsafeUnpin for BandwidthSnapshot
impl UnwindSafe for BandwidthSnapshot
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