pub enum StatType {
Counter,
Gauge,
BucketCounter,
}Expand description
Types of statistics. Automatically determined from the StatDefinition.
Variants§
Counter
A counter - a value that only increments.
Gauge
A gauge - a value that represents a current value and can go up or down.
BucketCounter
A counter that is additionally grouped into numerical buckets
Trait Implementations§
impl Copy for StatType
impl StructuralPartialEq for StatType
Auto Trait Implementations§
impl Freeze for StatType
impl RefUnwindSafe for StatType
impl Send for StatType
impl Sync for StatType
impl Unpin for StatType
impl UnwindSafe for StatType
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