pub struct RttEstimator {
pub min_rtt: u64,
pub latest_rtt: u64,
/* private fields */
}Expand description
RTT estimator using Jacobson’s algorithm (RFC 6298), integer-only.
SRTT and RTTVAR are stored shifted for fixed-point precision.
Fields§
§min_rtt: u64Minimum RTT observed (microseconds)
latest_rtt: u64Latest RTT sample (microseconds)
Implementations§
Source§impl RttEstimator
impl RttEstimator
Trait Implementations§
Source§impl Clone for RttEstimator
impl Clone for RttEstimator
Source§fn clone(&self) -> RttEstimator
fn clone(&self) -> RttEstimator
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RttEstimator
impl Debug 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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)