pub struct Histogram { /* private fields */ }
Expand description
Implementations§
Source§impl Histogram
impl Histogram
Sourcepub fn record_timing<D: Delta>(&self, start: D, end: D)
pub fn record_timing<D: Delta>(&self, start: D, end: D)
Records a timing for the histogram.
Sourcepub fn record_value(&self, value: u64)
pub fn record_value(&self, value: u64)
Records a value for the histogram.
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