pub trait AllowLabeled: MetricType {
    // Required method
    fn new_labeled(meta: LabeledMetricData) -> Self;
}
Expand description

Trait for metrics that can be nested inside a labeled metric.

Required Methods§

source

fn new_labeled(meta: LabeledMetricData) -> Self

Create a new labeled metric.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> AllowLabeled for T
where T: MetricType + Sealed,