pub struct LazyItem<'a, S, M: BuildMetric> { /* private fields */ }
Expand description
Lazily accessed member of a Family
or MetricsFamily
. Returned
by get_lazy()
methods.
Trait Implementations§
Auto Trait Implementations§
impl<'a, S, M> Freeze for LazyItem<'a, S, M>where
S: Freeze,
impl<'a, S, M> RefUnwindSafe for LazyItem<'a, S, M>
impl<'a, S, M> Send for LazyItem<'a, S, M>
impl<'a, S, M> Sync for LazyItem<'a, S, M>
impl<'a, S, M> Unpin for LazyItem<'a, S, M>where
S: Unpin,
impl<'a, S, M> UnwindSafe for LazyItem<'a, S, M>
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