Trait prometheus_client::registry::Metric

source ·
pub trait Metric: EncodeMetric + Send + Sync + Debug + 'static { }
Expand description

Super trait representing an abstract Prometheus metric.

Implementors§

source§

impl<T> Metric for T
where T: EncodeMetric + Send + Sync + Debug + 'static,