Struct substrate_prometheus_endpoint::Counter [−][src]
pub struct Counter<P> where
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
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more