Enum slog_extlog::stats::StatType
[−]
[src]
pub enum StatType {
Counter,
Gauge,
}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.
Trait Implementations
impl Debug for StatType[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for StatType[src]
fn clone(&self) -> StatType[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for StatType[src]
impl PartialEq for StatType[src]
fn eq(&self, __arg_0: &StatType) -> bool[src]
This 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]
This method tests for !=.