Trait prometheus::core::MetricVecBuilder
source · pub trait MetricVecBuilder:
Send
+ Sync
+ Clone {
type M: Metric;
type P: Describer + Sync + Send + Clone;
// Required method
fn build(&self, _: &Self::P, _: &[&str]) -> Result<Self::M>;
}
Expand description
An interface for building a metric vector.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.