Struct prometheus::local::LocalHistogram [] [src]

pub struct LocalHistogram { /* fields omitted */ }

An unsync Histogram.

Methods

impl LocalHistogram
[src]

[src]

Add a single observation to the Histogram.

[src]

Return a LocalHistogramTimer to track a duration.

[src]

Clear the local metric.

[src]

Flush the local metrics to the Histogram metric.

Trait Implementations

impl Clone for LocalHistogram
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Drop for LocalHistogram
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for LocalHistogram

impl !Sync for LocalHistogram