pub struct CounterSeries<'a> { /* private fields */ }Expand description
An infallible handle to one CounterVec series.
If the requested label block did not fit or the collection was full, this
handle is a sink: updates are no-ops and get returns zero.
Implementations§
Source§impl CounterSeries<'_>
impl CounterSeries<'_>
Trait Implementations§
Source§impl<'a> Clone for CounterSeries<'a>
impl<'a> Clone for CounterSeries<'a>
impl<'a> Copy for CounterSeries<'a>
Auto Trait Implementations§
impl<'a> Freeze for CounterSeries<'a>
impl<'a> RefUnwindSafe for CounterSeries<'a>
impl<'a> Send for CounterSeries<'a>
impl<'a> Sync for CounterSeries<'a>
impl<'a> Unpin for CounterSeries<'a>
impl<'a> UnsafeUnpin for CounterSeries<'a>
impl<'a> UnwindSafe for CounterSeries<'a>
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