pub type ComputedIntGauge = ComputedGenericGauge<AtomicI64>;
Available on crate feature
metrics
only.Expand description
A ComputedGenericGauge
for 64-bit signed integers.
Aliased Type§
struct ComputedIntGauge {
gauge: GenericGauge<AtomicI64>,
f: Arc<dyn Fn() -> i64 + Send + Sync>,
}
Fields§
§gauge: GenericGauge<AtomicI64>
§f: Arc<dyn Fn() -> i64 + Send + Sync>
Implementations
Trait Implementations
Source§impl<P> Clone for ComputedGenericGauge<P>where
P: Atomic,
impl<P> Clone for ComputedGenericGauge<P>where
P: Atomic,
Source§fn clone(&self) -> ComputedGenericGauge<P>
fn clone(&self) -> ComputedGenericGauge<P>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more