pub struct RestoreOnPending(/* private fields */);展开描述
poll_proceed 方法的返回值。
实现§
Source§impl RestoreOnPending
impl RestoreOnPending
Sourcepub fn made_progress(&self)
pub fn made_progress(&self)
表示获得此 RestoreOnPending 的任务已能够取得进展。这会阻止任务预算在丢弃此实例时被恢复为获取此实例之前的值。
Trait 实现§
Source§impl Debug for RestoreOnPending
impl Debug for RestoreOnPending
自动 Trait 实现§
impl !Freeze for RestoreOnPending
impl !RefUnwindSafe for RestoreOnPending
impl !Send for RestoreOnPending
impl !Sync for RestoreOnPending
impl Unpin for RestoreOnPending
impl UnsafeUnpin for RestoreOnPending
impl UnwindSafe for RestoreOnPending
Blanket 实现§
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. 更多信息