pub struct Counter { /* private fields */ }Expand description
Lock-free monotonically increasing 64-bit counter metric.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Counter
impl Forget for Counter
impl Move for Counter
impl RefUnwindSafe for Counter
impl Send for Counter
impl Sync for Counter
impl Unpin for Counter
impl UnsafeUnpin for Counterwhere
Align8<u64>: UnsafeUnpin,
impl UnwindSafe for Counterwhere
Align8<u64>: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendSync for T
impl<T> AnySync for T
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