Enum slog_extlog::stats::StatType
source · 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§
source§impl PartialEq for StatType
impl PartialEq for StatType
impl Copy for StatType
impl StructuralPartialEq for StatType
Auto Trait Implementations§
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