pub trait GaugeFn {
// Required methods
fn increment(&self, value: f64);
fn decrement(&self, value: f64);
fn set(&self, value: f64);
}
Expand description
A gauge handler.
Required Methods§
sourcefn increment(&self, value: f64)
fn increment(&self, value: f64)
Increments the gauge by the given amount.
Returns the previous value.