pub struct CompleteGuard<'a, S: Clone + Send + 'static> { /* private fields */ }
Expand description
A guard that automatically marks a ProgressToken
as complete when dropped
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, S> Freeze for CompleteGuard<'a, S>
impl<'a, S> RefUnwindSafe for CompleteGuard<'a, S>
impl<'a, S> Send for CompleteGuard<'a, S>
impl<'a, S> Sync for CompleteGuard<'a, S>
impl<'a, S> Unpin for CompleteGuard<'a, S>
impl<'a, S> UnwindSafe for CompleteGuard<'a, S>
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