pub struct Histogram { /* private fields */ }Expand description
A histogram for tracking value distributions
Implementations§
Source§impl Histogram
impl Histogram
Sourcepub fn timer(&self) -> HistogramTimer
pub fn timer(&self) -> HistogramTimer
Create a timer for automatic duration recording
Sourcepub fn stats(&self) -> HistogramStats
pub fn stats(&self) -> HistogramStats
Get statistics for recorded values
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Histogram
impl !RefUnwindSafe for Histogram
impl Send for Histogram
impl Sync for Histogram
impl Unpin for Histogram
impl !UnwindSafe for Histogram
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