pub trait GaugeVecExt {
    type GaugeType: Atomic;

    fn get_delete_on_drop_gauge<'a, L: PromLabelsExt<'a>>(
        &self,
        labels: L
    ) -> DeleteOnDropGauge<'a, Self::GaugeType, L>; }
Available on crate feature metrics only.
Expand description

Extension trait for all metrics vectors.

Required Associated Types

The type of value that the gauge should count.

Required Methods

Returns a gauge that deletes its labels from this metrics vector when dropped. See DeleteOnDropGauge for a detailed description.

Implementations on Foreign Types

Implementors