[−][src]Struct hdrhistogram::serialization::interval_log::IntervalLogHistogram
An individual interval histogram parsed from an interval log.
Methods
impl<'a> IntervalLogHistogram<'a>
[src]
pub fn tag(&self) -> Option<Tag<'a>>
[src]
Tag, if any is present.
pub fn start_timestamp(&self) -> Duration
[src]
Timestamp of the start of the interval in seconds, expressed as a Duration
relative to
some start point.
The timestamp may be absolute vs the epoch, or there may be a StartTime
or BaseTime
for
the log, in which case you may wish to consider this number as a delta vs those timestamps.
See the module-level documentation about timestamps.
pub fn duration(&self) -> Duration
[src]
Duration of the interval in seconds.
pub fn max(&self) -> f64
[src]
Max value in the encoded histogram
This max value is the max of the histogram divided by some scaling factor (which may be 1.0).
pub fn encoded_histogram(&self) -> &'a str
[src]
Base64-encoded serialized histogram.
If you need the deserialized histogram, base64-decode and use a Deserializer
on the
resulting bytes.
Trait Implementations
impl<'a> PartialEq<IntervalLogHistogram<'a>> for IntervalLogHistogram<'a>
[src]
fn eq(&self, other: &IntervalLogHistogram<'a>) -> bool
[src]
fn ne(&self, other: &IntervalLogHistogram<'a>) -> bool
[src]
impl<'a> Debug for IntervalLogHistogram<'a>
[src]
Auto Trait Implementations
impl<'a> Send for IntervalLogHistogram<'a>
impl<'a> Sync for IntervalLogHistogram<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> 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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,