Enum slog_extlog::stats::StatType[][src]

pub enum StatType {
    Counter,
    Gauge,
    BucketCounter,
}

Types of statistics. Automatically determined from the StatDefinition.

Variants

A counter - a value that only increments.

A gauge - a value that represents a current value and can go up or down.

A counter that is additionally grouped into numerical buckets

Trait Implementations

impl Debug for StatType
[src]

Formats the value using the given formatter. Read more

impl Clone for StatType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for StatType
[src]

impl PartialEq for StatType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Value for StatType
[src]

Serialize self into Serializer Read more

Auto Trait Implementations

impl Send for StatType

impl Sync for StatType