Enum metrix::instruments::ValueScaling[][src]

pub enum ValueScaling {
    NanosToMillis,
    NanosToMicros,
}

Scales incoming values.

This can be used either with a Cockpit or with a Panel. Be careful when using on both since both components do not care whether the other already scaled a value.

Variants

Consider incoming values nanos and make them millis

Consider incoming values nanos and make them micros

Trait Implementations

impl Debug for ValueScaling
[src]

Formats the value using the given formatter. Read more

impl Clone for ValueScaling
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ValueScaling
[src]

Auto Trait Implementations