Struct RunError
pub struct RunError {
pub runnable: Runnable,
pub cause: RunErrorKind,
}Expand description
执行被拒绝时返还原Runnable,不能把拒绝当作已经完成。
Fields§
§runnable: Runnable保持原任务(Task)身份和未处理执行责任。
cause: RunErrorKind本次拒绝原因。
Auto Trait Implementations§
impl !RefUnwindSafe for RunError
impl !UnwindSafe for RunError
impl Forget for RunError
impl Freeze for RunError
impl Move for RunError
impl Send for RunError
impl Sync for RunError
impl Unpin for RunError
impl UnsafeUnpin for RunError
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