Skip to main content

DeleteOnDropGauge

Type Alias DeleteOnDropGauge 

Source
pub type DeleteOnDropGauge<P, L> = DeleteOnDropMetric<GenericGaugeVec<P>, L>;
Available on crate feature metrics only.
Expand description

A GenericGauge wrapper that deletes its labels from the vec when it is dropped.

Aliased Type§

pub struct DeleteOnDropGauge<P, L> { /* private fields */ }

Trait Implementations§

Source§

impl<P, L> Borrow<GenericGauge<P>> for DeleteOnDropGauge<P, L>
where P: Atomic, L: PromLabelsExt,

Source§

fn borrow(&self) -> &GenericGauge<P>

Immutably borrows from an owned value. Read more