pub struct LatencyTracker { /* private fields */ }Expand description
Latency tracker with histogram support.
Implementations§
Source§impl LatencyTracker
impl LatencyTracker
Sourcepub async fn percentile(&self, p: f64) -> Option<Duration>
pub async fn percentile(&self, p: f64) -> Option<Duration>
Get a specific percentile.
Auto Trait Implementations§
impl Freeze for LatencyTracker
impl !RefUnwindSafe for LatencyTracker
impl Send for LatencyTracker
impl Sync for LatencyTracker
impl Unpin for LatencyTracker
impl UnsafeUnpin 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