Struct opentelemetry::metrics::AtomicNumber [−][src]
pub struct AtomicNumber(_);
This is supported on crate feature
metrics
only.Expand description
An atomic version of Number
Implementations
Adds to the current number. Both numbers must be of the same kind.
This operation wraps around on overflow for u64
and i64
types and is
inf
for f64
.
Subtracts from the current number. Both numbers must be of the same kind.
This operation wraps around on overflow for u64
and i64
types and is
-inf
for f64
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AtomicNumber
impl Send for AtomicNumber
impl Sync for AtomicNumber
impl Unpin for AtomicNumber
impl UnwindSafe for AtomicNumber
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V