[−][src]Struct hotmic::snapshot::SummarizedHistogram
A pre-summarized histogram.
Based on the configuration of the [Receiver
], this histogram will represent only the
configured percentiles to extract for a given underlying histogram, as well as the measurement
count for the underlying histogram.
Methods
impl SummarizedHistogram
[src]
pub fn count(&self) -> u64
[src]
Gets the total count of measurements present in the underlying histogram.
pub fn sum(&self) -> u64
[src]
Gets the total sum of the measurements recorded in the underlying histogram.
pub fn measurements(&self) -> &HashMap<Percentile, u64>
[src]
Gets the map of percentile/value pairs extracted from the underlying histogram.
Trait Implementations
impl PartialEq<SummarizedHistogram> for SummarizedHistogram
[src]
fn eq(&self, other: &SummarizedHistogram) -> bool
[src]
fn ne(&self, other: &SummarizedHistogram) -> bool
[src]
impl Eq for SummarizedHistogram
[src]
impl Debug for SummarizedHistogram
[src]
Auto Trait Implementations
impl Send for SummarizedHistogram
impl Sync for SummarizedHistogram
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.