pub struct LatencyTracker { /* private fields */ }Expand description
Latency tracking
Implementations§
Source§impl LatencyTracker
impl LatencyTracker
pub fn new() -> Self
pub fn record_rtt(&self, rtt: Duration)
pub fn summary(&self) -> LatencySummary
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for LatencyTracker
impl RefUnwindSafe for LatencyTracker
impl Send for LatencyTracker
impl Sync for LatencyTracker
impl Unpin for LatencyTracker
impl UnwindSafe for LatencyTracker
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