#[non_exhaustive]pub struct RecoveryMetrics<'a> {
pub path: Path<'a>,
pub min_rtt: Duration,
pub smoothed_rtt: Duration,
pub latest_rtt: Duration,
pub rtt_variance: Duration,
pub max_ack_delay: Duration,
pub pto_count: u32,
pub congestion_window: u32,
pub bytes_in_flight: u32,
pub congestion_limited: bool,
}
Expand description
Recovery metrics updated
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.path: Path<'a>
min_rtt: Duration
smoothed_rtt: Duration
latest_rtt: Duration
rtt_variance: Duration
max_ack_delay: Duration
pto_count: u32
congestion_window: u32
bytes_in_flight: u32
congestion_limited: bool
Trait Implementations
sourceimpl<'a> Clone for RecoveryMetrics<'a>
impl<'a> Clone for RecoveryMetrics<'a>
sourcefn clone(&self) -> RecoveryMetrics<'a>
fn clone(&self) -> RecoveryMetrics<'a>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for RecoveryMetrics<'a>
impl<'a> Debug for RecoveryMetrics<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for RecoveryMetrics<'a>
impl<'a> Send for RecoveryMetrics<'a>
impl<'a> Sync for RecoveryMetrics<'a>
impl<'a> Unpin for RecoveryMetrics<'a>
impl<'a> UnwindSafe for RecoveryMetrics<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more