Type Alias LabelGuardedLocalIntCounter

Source
pub type LabelGuardedLocalIntCounter<const N: usize> = LabelGuardedMetric<LocalIntCounter, N>;

Aliased Type§

struct LabelGuardedLocalIntCounter<const N: usize> {
    inner: GenericLocalCounter<AtomicU64>,
    _guard: Arc<LabelGuard<N>>,
}

Fields§

§inner: GenericLocalCounter<AtomicU64>§_guard: Arc<LabelGuard<N>>

Implementations

Trait Implementations

Source§

impl<T: Clone, const N: usize> Clone for LabelGuardedMetric<T, N>

Source§

fn clone(&self) -> LabelGuardedMetric<T, N>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T, const N: usize> Debug for LabelGuardedMetric<T, N>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T, const N: usize> Deref for LabelGuardedMetric<T, N>

Source§

type Target = T

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.