pub struct RestoreOnPending(/* private fields */);
Available on crate feature
rt
only.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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 2 bytes