Struct QueuePushError
pub struct QueuePushError {
pub task: Runnable,
pub cause: QueuePushErrorKind,
}Expand description
入队失败时返还原持有,队列不改变原任务(Task)的绑定。
Fields§
§task: Runnable未接纳到本队列的原Runnable。
cause: QueuePushErrorKind明确拒绝原因。
Auto Trait Implementations§
impl !RefUnwindSafe for QueuePushError
impl !UnwindSafe for QueuePushError
impl Forget for QueuePushError
impl Freeze for QueuePushError
impl Move for QueuePushError
impl Send for QueuePushError
impl Sync for QueuePushError
impl Unpin for QueuePushError
impl UnsafeUnpin for QueuePushError
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