pub(super) struct CounterFamily<L: MetricLabel> {
counters: Box<[Counter]>,
_label: PhantomData<L>,
}Fields§
§counters: Box<[Counter]>§_label: PhantomData<L>Implementations§
Trait Implementations§
Source§impl<L: Debug + MetricLabel> Debug for CounterFamily<L>
impl<L: Debug + MetricLabel> Debug for CounterFamily<L>
Source§impl<L: MetricLabel> Default for CounterFamily<L>
impl<L: MetricLabel> Default for CounterFamily<L>
Auto Trait Implementations§
impl<L> Freeze for CounterFamily<L>
impl<L> RefUnwindSafe for CounterFamily<L>where
L: RefUnwindSafe,
impl<L> Send for CounterFamily<L>where
L: Send,
impl<L> Sync for CounterFamily<L>where
L: Sync,
impl<L> Unpin for CounterFamily<L>where
L: Unpin,
impl<L> UnsafeUnpin for CounterFamily<L>
impl<L> UnwindSafe for CounterFamily<L>where
L: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more