Bundled

Trait 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§

Source

type Bundle: Bundle

Type of a Bundle bundling this prometheus metric.

Required Methods§

Source

fn into_bundle(self) -> Self::Bundle

Wraps this prometheus metric into its Bundle.

Implementations on Foreign Types§

Source§

impl Bundled for Histogram

Source§

type Bundle = Either<Histogram, MetricVec<HistogramVecBuilder>>

Source§

fn into_bundle(self) -> Self::Bundle

Source§

impl Bundled for IntCounter

Source§

impl Bundled for IntCounterVec

Source§

impl Bundled for Gauge

Source§

impl Bundled for GaugeVec

Source§

impl Bundled for HistogramVec

Source§

type Bundle = Either<Histogram, MetricVec<HistogramVecBuilder>>

Source§

fn into_bundle(self) -> Self::Bundle

Implementors§