Struct prometheus::core::GenericCounter [−][src]
pub struct GenericCounter<P: Atomic> { /* fields omitted */ }Expand description
The underlying implementation for Counter and IntCounter.
Implementations
Create a GenericCounter with the name and help arguments.
Create a GenericCounter with the opts options.
Return a GenericLocalCounter for single thread usage.
Trait Implementations
Auto Trait Implementations
impl<P> RefUnwindSafe for GenericCounter<P> where
P: RefUnwindSafe,
impl<P> Send for GenericCounter<P>
impl<P> Sync for GenericCounter<P>
impl<P> Unpin for GenericCounter<P>
impl<P> UnwindSafe for GenericCounter<P> where
P: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more