pub trait MetricIdentifier<'a> {
    // Required method
    fn get_identifiers(&'a self) -> (&'a str, &'a str, Option<&'a str>);
}
Expand description

A MetricIdentifier describes an interface for retrieving an identifier (category, name, label) for a metric

Required Methods§

source

fn get_identifiers(&'a self) -> (&'a str, &'a str, Option<&'a str>)

Retrieve the category, name and (maybe) label of the metric

Implementors§

source§

impl<'a, T> MetricIdentifier<'a> for T
where T: MetricType,