Trait metrics::HistogramFn

source ·
pub trait HistogramFn {
    // Required method
    fn record(&self, value: f64);
}
Expand description

A histogram handler.

Required Methods§

source

fn record(&self, value: f64)

Records a value into the histogram.

Implementations on Foreign Types§

source§

impl<T> HistogramFn for Arc<T>
where T: HistogramFn,

source§

fn record(&self, value: f64)

Implementors§