pub struct RttEstimate { /* private fields */ }Available on crate feature
load only.Expand description
Holds the current RTT estimate and the last time this value was updated.
Implementations§
Source§impl RttEstimate
impl RttEstimate
Sourcepub fn updated_at(&self) -> Instant
pub fn updated_at(&self) -> Instant
Returns the [Instant] that this estimate was last updated.
Trait Implementations§
Source§impl Clone for RttEstimate
impl Clone for RttEstimate
Source§fn clone(&self) -> RttEstimate
fn clone(&self) -> RttEstimate
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 moreAuto Trait Implementations§
impl Freeze for RttEstimate
impl RefUnwindSafe for RttEstimate
impl Send for RttEstimate
impl Sync for RttEstimate
impl Unpin for RttEstimate
impl UnsafeUnpin for RttEstimate
impl UnwindSafe for RttEstimate
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