Trait ore::metrics::GaugeVecExt[][src]

pub trait GaugeVecExt {
    type GaugeType: Atomic;
    fn get_delete_on_drop_gauge<'a, L: PromLabelsExt<'a>>(
        &self,
        labels: L
    ) -> DeleteOnDropGauge<'a, Self::GaugeType, L>; }
This is supported on crate feature metrics only.
Expand description

Extension trait for all metrics vectors.

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