pub struct Count { /* private fields */ }
Expand description
Count histograms.
A Count histogram simply accumulates the numbers passed with
record()
. Count histograms are useful, for instance, to know how
many times a feature has been used, or how many times an error has
been triggered.
With SerializationFormat::SimpleJson
, these histograms are
serialized as a plain number.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Count
impl RefUnwindSafe for Count
impl Send for Count
impl Sync for Count
impl Unpin for Count
impl UnwindSafe for Count
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