pub enum Semantics {
Counter,
Gauge,
Bitmap,
Unknown,
}
Expand description
Kind of data
Variants§
Counter
Value only goes up (e.g. amount of bytes transferred)
Gauge
Value can go up and down (e.g. amount of current connections)
Bitmap
Value is to be read as 64 booleans packed together as a u64
Unknown
No information on this value
Trait Implementations§
impl Copy for Semantics
impl Eq for Semantics
impl StructuralPartialEq for Semantics
Auto Trait Implementations§
impl Freeze for Semantics
impl RefUnwindSafe for Semantics
impl Send for Semantics
impl Sync for Semantics
impl Unpin for Semantics
impl UnwindSafe for Semantics
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