pub struct TimedSpan { /* private fields */ }Expand description
A guard that measures elapsed time and records it when dropped
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimedSpan
impl RefUnwindSafe for TimedSpan
impl Send for TimedSpan
impl Sync for TimedSpan
impl Unpin for TimedSpan
impl UnsafeUnpin for TimedSpan
impl UnwindSafe for TimedSpan
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