pub trait AggregationKey {
const LABEL_NAMES: &'static [&'static str];
// Required method
fn label_values(&self) -> Vec<String>;
}Available on crate feature
metrics only.Expand description
Identifies one object in the _topk families.
Required Associated Constants§
Sourceconst LABEL_NAMES: &'static [&'static str]
const LABEL_NAMES: &'static [&'static str]
The label names of a _topk series.
Required Methods§
Sourcefn label_values(&self) -> Vec<String>
fn label_values(&self) -> Vec<String>
The label values of this object, one per Self::LABEL_NAMES entry.
Only called for objects that make a top-K.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".