Enum slog_extlog::stats::StatType [−][src]
pub enum StatType {
Counter,
Gauge,
BucketCounter,
}Types of statistics. Automatically determined from the StatDefinition.
Variants
CounterA counter - a value that only increments.
GaugeA gauge - a value that represents a current value and can go up or down.
BucketCounterA counter that is additionally grouped into numerical buckets
Trait Implementations
impl Debug for StatType[src]
impl Debug for StatTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for StatType[src]
impl Clone for StatTypefn clone(&self) -> StatType[src]
fn clone(&self) -> StatTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for StatType[src]
impl Copy for StatTypeimpl PartialEq for StatType[src]
impl PartialEq for StatTypefn eq(&self, other: &StatType) -> bool[src]
fn eq(&self, other: &StatType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Value for StatType[src]
impl Value for StatType