pub struct MeasureGuard<'a> { /* private fields */ }Expand description
RAII guard for measuring operation timing
Records the operation duration when dropped.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for MeasureGuard<'a>
impl<'a> RefUnwindSafe for MeasureGuard<'a>
impl<'a> Send for MeasureGuard<'a>
impl<'a> Sync for MeasureGuard<'a>
impl<'a> Unpin for MeasureGuard<'a>
impl<'a> UnsafeUnpin for MeasureGuard<'a>
impl<'a> !UnwindSafe for MeasureGuard<'a>
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