Enum slog_extlog::stats::ChangeType
[−]
[src]
pub enum ChangeType {
Incr(usize),
Decr(usize),
SetTo(isize),
}Types of changes made to a statistic.
Variants
Incr(usize)Increment by a fixed amount.
Decr(usize)Decrement by a fixed amount.
SetTo(isize)Set to a specific value.
Trait Implementations
impl Debug for ChangeType[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for ChangeType[src]
fn clone(&self) -> ChangeType[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 Eq for ChangeType[src]
impl PartialEq for ChangeType[src]
fn eq(&self, __arg_0: &ChangeType) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ChangeType) -> bool[src]
This method tests for !=.