pub enum HyperlightMetricType {
IntCounter,
IntCounterVec,
IntGauge,
IntGaugeVec,
Histogram,
HistogramVec,
}
Expand description
The types of Hyperlight metrics that can be created
Variants§
IntCounter
A counter that can only be incremented
IntCounterVec
A counter that can only be incremented and has labels
IntGauge
A gauge that can be incremented, decremented, set, added to, and subtracted from
IntGaugeVec
A gauge that can be incremented, decremented, set, added to, and subtracted from and has labels
Histogram
A histogram that can observe values for activities
HistogramVec
A histogram that can observe values for activities and has labels
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HyperlightMetricType
impl RefUnwindSafe for HyperlightMetricType
impl Send for HyperlightMetricType
impl Sync for HyperlightMetricType
impl Unpin for HyperlightMetricType
impl UnwindSafe for HyperlightMetricType
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