Trait glean_core::AllowLabeled
source · 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§
sourcefn new_labeled(meta: LabeledMetricData) -> Self
fn new_labeled(meta: LabeledMetricData) -> Self
Create a new labeled metric.
Object Safety§
This trait is not object safe.