pub struct DurationScope<'a> { /* private fields */ }
Expand description
The scope of a duration event, returned by the duration
function and the duration!
macro.
The duration will be end'ed
when this object is dropped.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DurationScope<'a>
impl<'a> RefUnwindSafe for DurationScope<'a>
impl<'a> Send for DurationScope<'a>
impl<'a> Sync for DurationScope<'a>
impl<'a> Unpin for DurationScope<'a>
impl<'a> UnwindSafe for DurationScope<'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