Trait metrics_prometheus::metric::Bundled
source · pub trait Bundled: Sealed {
type Bundle: Bundle;
// Required method
fn into_bundle(self) -> Self::Bundle;
}Expand description
prometheus metric being Bundled.
Required Associated Types§
sourcetype Bundle: Bundle
type Bundle: Bundle
Type of a Bundle bundling this prometheus metric.
Required Methods§
sourcefn into_bundle(self) -> Self::Bundle
fn into_bundle(self) -> Self::Bundle
Wraps this prometheus metric into its Bundle.