Enum metrix::instruments::Update[][src]

pub enum Update {
    Observations(u64Instant),
    Observation(Instant),
    ObservationWithValue(u64Instant),
}

An update instruction for an instrument

Variants

Many observations without a value observed at a given time

One observation without a value observed at a given time

One observation with a value observed at a given time

Methods

impl Update
[src]

Scale by the given ValueScaling

Trait Implementations

impl Debug for Update
[src]

Formats the value using the given formatter. Read more

impl Clone for Update
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Update

impl Sync for Update