pub struct Paused<'a> { /* private fields */ }Expand description
An invocation whose clock is stopped, resumed when this drops.
A guard rather than a matched pair of calls, because the call it wraps can return early on
an error: a disarm whose arm sits after a ? is a rule that runs unbounded from then
on, and nothing about the code would look wrong.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Paused<'a>
impl<'a> RefUnwindSafe for Paused<'a>
impl<'a> Send for Paused<'a>
impl<'a> Sync for Paused<'a>
impl<'a> Unpin for Paused<'a>
impl<'a> UnsafeUnpin for Paused<'a>
impl<'a> UnwindSafe for Paused<'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