Trait metrics_catalogue::GaugeMetric[][src]

pub trait GaugeMetric {
    fn set(&self, val: f64);
fn increase(&self, val: f64);
fn decrease(&self, val: f64);
fn read(&self) -> f64; }

Required methods

Increases the value of the Gauge by a real amount

Decreases the value of the Gauge by a real amount

Read the current state of the Gauge

Implementors