pub struct ReturnRecovery { /* private fields */ }Expand description
无错误通道交付失败后的退出安排;不会把责任退给Waker调用者。
Trait Implementations§
Source§impl DispatchRecovery for ReturnRecovery
impl DispatchRecovery for ReturnRecovery
Source§fn retain(&self, task: Runnable, reason: DispatchFailure)
fn retain(&self, task: Runnable, reason: DispatchFailure)
接管task;reason只说明本次交付失败,重复请求仍由任务自身合并。
Auto Trait Implementations§
impl !RefUnwindSafe for ReturnRecovery
impl !UnwindSafe for ReturnRecovery
impl Forget for ReturnRecovery
impl Freeze for ReturnRecovery
impl Move for ReturnRecovery
impl Send for ReturnRecovery
impl Sync for ReturnRecovery
impl Unpin for ReturnRecovery
impl UnsafeUnpin for ReturnRecovery
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