[][src]Enum hdrhistogram::serialization::interval_log::LogEntry

pub enum LogEntry<'a> {
    StartTime(Duration),
    BaseTime(Duration),
    Interval(IntervalLogHistogram<'a>),
}

Represents one non-comment line in an interval log.

One thing to note is that the way your interval timestamps work can vary. If your log was written with a StartTime or BaseTime, that metadata will appear in header comments, and that will be represented by the iterator providing the corresponding variants here. The presence of those timestamps will affect how you should interpret the timestamps for individual intervals. See the module-level documentation.

Variants

StartTime(Duration)

Logs may include a StartTime. If present, it represents seconds since the epoch.

BaseTime(Duration)

Logs may include a BaseTime. If present, it represents seconds since the epoch.

Interval(IntervalLogHistogram<'a>)

An individual interval histogram.

Trait Implementations

impl<'a> Debug for LogEntry<'a>[src]

impl<'a> PartialEq<LogEntry<'a>> for LogEntry<'a>[src]

impl<'a> StructuralPartialEq for LogEntry<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for LogEntry<'a>

impl<'a> Send for LogEntry<'a>

impl<'a> Sync for LogEntry<'a>

impl<'a> Unpin for LogEntry<'a>

impl<'a> UnwindSafe for LogEntry<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.