Enum slog_extlog::stats::ChangeType[][src]

pub enum ChangeType {
    Incr(usize),
    Decr(usize),
    SetTo(isize),
}

Types of changes made to a statistic.

Variants

Increment by a fixed amount.

Decrement by a fixed amount.

Set to a specific value.

Trait Implementations

impl Debug for ChangeType
[src]

Formats the value using the given formatter. Read more

impl Clone for ChangeType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for ChangeType
[src]

impl PartialEq for ChangeType
[src]

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

This method tests for !=.

impl Hash for ChangeType
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for ChangeType

impl Sync for ChangeType