Struct prometheus::core::GenericLocalCounter
source · pub struct GenericLocalCounter<P: Atomic> { /* private fields */ }
Expand description
The underlying implementation for LocalCounter
and LocalIntCounter
.
Implementations§
Trait Implementations§
source§impl<P: Atomic> Clone for GenericLocalCounter<P>
impl<P: Atomic> Clone for GenericLocalCounter<P>
source§impl<P: Atomic> CounterWithValueType for GenericLocalCounter<P>
impl<P: Atomic> CounterWithValueType for GenericLocalCounter<P>
source§impl<P: Atomic> LocalMetric for GenericLocalCounter<P>
impl<P: Atomic> LocalMetric for GenericLocalCounter<P>
Auto Trait Implementations§
impl<P> !Freeze for GenericLocalCounter<P>
impl<P> !RefUnwindSafe for GenericLocalCounter<P>
impl<P> Send for GenericLocalCounter<P>
impl<P> !Sync for GenericLocalCounter<P>
impl<P> Unpin for GenericLocalCounter<P>
impl<P> UnwindSafe for GenericLocalCounter<P>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)