pub struct Buckets { /* private fields */ }
Available on crate feature metrics
only.
Expand description
Buckets represent histogram buckets boundaries and counts.
For a Histogram with N defined boundaries, e.g, [x, y, z]. There are N+1
counts: [-inf, x), [x, y), [y, z), [z, +inf]
Boundaries of the histogram buckets
Counts of the histogram buckets
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Attaches the provided
Context
to this type, returning a
WithContext
wrapper.
Read more
Attaches the current
Context
to this type, returning a
WithContext
wrapper.
Read more
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.