Struct quinn_proto::RttEstimator
source · pub struct RttEstimator { /* private fields */ }
Expand description
RTT estimation for a particular network path
Implementations§
source§impl RttEstimator
impl RttEstimator
sourcepub fn conservative(&self) -> Duration
pub fn conservative(&self) -> Duration
Conservative estimate of RTT
Takes the maximum of smoothed and latest RTT, as recommended in 6.1.2 of the recovery spec (draft 29).
Trait Implementations§
source§impl Clone for RttEstimator
impl Clone for RttEstimator
source§fn clone(&self) -> RttEstimator
fn clone(&self) -> RttEstimator
Returns a copy 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 moreimpl Copy for RttEstimator
Auto Trait Implementations§
impl RefUnwindSafe for RttEstimator
impl Send for RttEstimator
impl Sync for RttEstimator
impl Unpin for RttEstimator
impl UnwindSafe for RttEstimator
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