Type Alias mz_ore::metrics::DeleteOnDropHistogram
source · pub type DeleteOnDropHistogram<'a, L> = DeleteOnDropMetric<'a, HistogramVec, L>;
Available on crate feature
metrics
only.Expand description
A Histogram
wrapper that deletes its labels from the vec when it is dropped.
Aliased Type§
struct DeleteOnDropHistogram<'a, L> {
inner: Histogram,
labels: L,
vec: MetricVec<HistogramVecBuilder>,
_phantom: &'a PhantomData<()>,
}
Fields§
§inner: Histogram
§labels: L
§vec: MetricVec<HistogramVecBuilder>
§_phantom: &'a PhantomData<()>