pub trait MetricCollector {
// Required methods
fn name(&self) -> String;
fn collector(&self) -> Box<dyn Collector>;
}Expand description
Metric collector
pub trait MetricCollector {
// Required methods
fn name(&self) -> String;
fn collector(&self) -> Box<dyn Collector>;
}Metric collector