pub enum StatKind {
Counter,
Gauge,
TimerMs,
}Variants§
Counter
Summed over the flush window (statsd |c).
Gauge
Last value wins (statsd |g).
TimerMs
Timing in milliseconds; the statsd server derives count/mean/percentiles (statsd |ms).
Trait Implementations§
impl Copy for StatKind
Source§impl<'de> Deserialize<'de> for StatKind
impl<'de> Deserialize<'de> for StatKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StatKind
impl StructuralPartialEq for StatKind
Auto Trait Implementations§
impl Freeze for StatKind
impl RefUnwindSafe for StatKind
impl Send for StatKind
impl Sync for StatKind
impl Unpin for StatKind
impl UnsafeUnpin for StatKind
impl UnwindSafe for StatKind
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