#[non_exhaustive]pub struct Histogram<T>(/* private fields */);Expand description
An instrument that records a distribution of values.
Histogram can be cloned to create multiple handles to the same instrument. If a Histogram needs to be shared,
users are recommended to clone the Histogram instead of creating duplicate Histograms for the same metric. Creating
duplicate Histograms for the same metric could lower SDK performance.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Histogram<T>
impl<T> !RefUnwindSafe for Histogram<T>
impl<T> Send for Histogram<T>
impl<T> Sync for Histogram<T>
impl<T> Unpin for Histogram<T>
impl<T> !UnwindSafe for Histogram<T>
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