pub struct RestoreOnPending(/* private fields */);
Expand description
Value returned by the poll_proceed
method.
Implementations§
Source§impl RestoreOnPending
impl RestoreOnPending
Sourcepub fn made_progress(&self)
pub fn made_progress(&self)
Signals that the task that obtained this RestoreOnPending
was able to make
progress. This prevents the task budget from being restored to the value
it had prior to obtaining this instance when it is dropped.
Trait Implementations§
Source§impl Debug for RestoreOnPending
impl Debug for RestoreOnPending
Auto Trait Implementations§
impl !Freeze for RestoreOnPending
impl !RefUnwindSafe for RestoreOnPending
impl !Send for RestoreOnPending
impl !Sync for RestoreOnPending
impl Unpin for RestoreOnPending
impl UnwindSafe for RestoreOnPending
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