pub enum StatValue {
Str(String),
Int(i64),
Float(f64),
Map(BTreeMap<String, i64>),
Null,
}Expand description
A value in the PoolStats::to_dictionary wire representation.
Variants§
Str(String)
A string value.
Int(i64)
An integer value.
Float(f64)
A floating-point value.
Map(BTreeMap<String, i64>)
A map of close-reason -> count.
Null
A null value (used for an absent breaker state).
Trait Implementations§
impl StructuralPartialEq for StatValue
Auto Trait Implementations§
impl Freeze for StatValue
impl RefUnwindSafe for StatValue
impl Send for StatValue
impl Sync for StatValue
impl Unpin for StatValue
impl UnsafeUnpin for StatValue
impl UnwindSafe for StatValue
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