Struct prometheus::local::LocalHistogram [−][src]
pub struct LocalHistogram { /* fields omitted */ }
Expand description
An unsync Histogram
.
Implementations
Return a LocalHistogramTimer
to track a duration.
Return a LocalHistogramTimer
to track a duration.
It is faster but less precise.
Observe execution time of a closure, in second.
Observe execution time of a closure, in second.
Return accumulated sum of local samples.
Return count of local samples.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for LocalHistogram
impl Send for LocalHistogram
impl !Sync for LocalHistogram
impl Unpin for LocalHistogram
impl UnwindSafe for LocalHistogram
Blanket Implementations
Mutably borrows from an owned value. Read more