pub struct Guard { /* private fields */ }Expand description
Removes the marker when a task run that started an attempt ends in any ordinary way. A run refused before its attempt starts (a session check, a worktree held by a waiting call) leaves an interrupted or waiting attempt’s marker alone: that attempt still resumes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Guard
impl !RefUnwindSafe for Guard
impl !Sync for Guard
impl Send for Guard
impl Unpin for Guard
impl UnsafeUnpin for Guard
impl UnwindSafe for Guard
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