Enum slog_extlog::stats::StatSnapshotValues
source · pub enum StatSnapshotValues {
Counter(Vec<StatSnapshotValue>),
Gauge(Vec<StatSnapshotValue>),
BucketCounter(Buckets, Vec<(StatSnapshotValue, BucketLimit)>),
}
Expand description
The values contained in a StatSnapshot
for each stat type.
Variants§
Counter(Vec<StatSnapshotValue>)
StatSnapshot
values for the Counter stat type.
Gauge(Vec<StatSnapshotValue>)
StatSnapshot
values for the Gauge stat type.
BucketCounter(Buckets, Vec<(StatSnapshotValue, BucketLimit)>)
Bucket description, and StatSnapshot
values by bucket for the BucketCounter stat type.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for StatSnapshotValues
impl Send for StatSnapshotValues
impl Sync for StatSnapshotValues
impl Unpin for StatSnapshotValues
impl UnwindSafe for StatSnapshotValues
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more