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 Freeze for RttEstimator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)