pub trait MetricVecBuilder: Send + Sync + Clone {
    type M: Metric;
    type P: Describer + Sync + Send + Clone;

    fn build(&self, _: &Self::P, _: &[&str]) -> Result<Self::M>;
}
Expand description

An interface for building a metric vector.

Required Associated Types

The associated Metric collected.

The associated describer.

Required Methods

build builds a Metric with option and corresponding label names.

Implementors