Skip to main content

HistogramFn

Trait HistogramFn 

Source
pub trait HistogramFn: Send + Sync {
    // Required method
    fn record(&self, value: f64);
}
Expand description

Handle for a sampled distribution.

Required Methods§

Source

fn record(&self, value: f64)

Record one observation.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§