Enum slog_extlog::stats::StatSnapshotValues[][src]

pub enum StatSnapshotValues {
    Counter(Vec<StatSnapshotValue>),
    Gauge(Vec<StatSnapshotValue>),
    BucketCounter(BucketsVec<(StatSnapshotValue, BucketLimit)>),
}

The values contained in a StatSnapshot for each stat type.

Variants

StatSnapshot values for the Counter stat type.

StatSnapshot values for the Gauge stat type.

Bucket description, and StatSnapshot values by bucket for the BucketCounter stat type.

Implementations

impl StatSnapshotValues[src]

pub fn is_empty(&self) -> bool[src]

Returns true if self contains no StatSnapshotValue entries.

Trait Implementations

impl Debug for StatSnapshotValues[src]

Auto Trait Implementations

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> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[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.