Struct tokio::util::metric_atomics::MetricAtomicU64
source · pub(crate) struct MetricAtomicU64 {
value: AtomicU64,
}
Expand description
AtomicU64
that is is a no-op on platforms without 64-bit atomics
When used on platforms without 64-bit atomics, writes to this are no-ops.
The load
method is only defined when 64-bit atomics are available.
Fields§
§value: AtomicU64
Implementations§
Trait Implementations§
source§impl Debug for MetricAtomicU64
impl Debug for MetricAtomicU64
source§impl Default for MetricAtomicU64
impl Default for MetricAtomicU64
source§fn default() -> MetricAtomicU64
fn default() -> MetricAtomicU64
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for MetricAtomicU64
impl RefUnwindSafe for MetricAtomicU64
impl Send for MetricAtomicU64
impl Sync for MetricAtomicU64
impl Unpin for MetricAtomicU64
impl UnwindSafe for MetricAtomicU64
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