pub trait GaugeFn {
    fn increment(&self, value: f64);
    fn decrement(&self, value: f64);
    fn set(&self, value: f64);
}
Expand description

A gauge handler.

Required Methods

Increments the gauge by the given amount.

Returns the previous value.

Decrements the gauge by the given amount.

Returns the previous value.

Sets the gauge to the given amount.

Returns the previous value.

Implementations on Foreign Types

Implementors