pub struct SimpleManagerMetric<T, H> { /* private fields */ }Implementations§
Source§impl<T, H> SimpleManagerMetric<T, H>where
T: MetricValue + Clone,
impl<T, H> SimpleManagerMetric<T, H>where
T: MetricValue + Clone,
pub fn update<F1>(&self, f: F1) -> SimpleManagerPublishMetric
Trait Implementations§
Source§impl<T: Clone, H: Clone> Clone for SimpleManagerMetric<T, H>
impl<T: Clone, H: Clone> Clone for SimpleManagerMetric<T, H>
Source§fn clone(&self) -> SimpleManagerMetric<T, H>
fn clone(&self) -> SimpleManagerMetric<T, H>
Returns a duplicate 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, H> Freeze for SimpleManagerMetric<T, H>
impl<T, H> RefUnwindSafe for SimpleManagerMetric<T, H>
impl<T, H> Send for SimpleManagerMetric<T, H>where
T: Send,
impl<T, H> Sync for SimpleManagerMetric<T, H>where
T: Send,
impl<T, H> Unpin for SimpleManagerMetric<T, H>
impl<T, H> UnsafeUnpin for SimpleManagerMetric<T, H>
impl<T, H> UnwindSafe for SimpleManagerMetric<T, H>
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