Struct prometheus::local::LocalHistogramTimer[][src]

pub struct LocalHistogramTimer { /* fields omitted */ }
Expand description

An unsync HistogramTimer.

Implementations

Observe and record timer duration (in seconds).

It observes the floating-point number of seconds elapsed since the timer started, and it records that value to the attached histogram.

Observe, record and return timer duration (in seconds).

It observes and returns a floating-point number for seconds elapsed since the timer started, recording that value to the attached histogram.

Observe and return timer duration (in seconds).

It returns a floating-point number of seconds elapsed since the timer started, without recording to any histogram.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.