#[non_exhaustive]pub struct ObservableCounter<T> { /* private fields */ }
Expand description
An async instrument that records increasing values.
Implementations§
Source§impl<T> ObservableCounter<T>
impl<T> ObservableCounter<T>
Trait Implementations§
Source§impl<T: Clone> Clone for ObservableCounter<T>
impl<T: Clone> Clone for ObservableCounter<T>
Source§fn clone(&self) -> ObservableCounter<T>
fn clone(&self) -> ObservableCounter<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for ObservableCounter<T>
impl<T> RefUnwindSafe for ObservableCounter<T>where
T: RefUnwindSafe,
impl<T> Send for ObservableCounter<T>where
T: Send,
impl<T> Sync for ObservableCounter<T>where
T: Sync,
impl<T> Unpin for ObservableCounter<T>where
T: Unpin,
impl<T> UnwindSafe for ObservableCounter<T>where
T: UnwindSafe,
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