Struct TimerSubmitError
pub struct TimerSubmitError<Item> {
pub item: Item,
pub cause: TimerQueueError,
}Expand description
明确未接收时返还原值及原因;原值不放入错误报告(Report)。
不为报告强迫Item满足Debug、Sync或错误上下文(error context)约束。
Fields§
§item: Item未被来源接管的原内容,调用者继续负责。
cause: TimerQueueError本次明确拒绝原因;不表示原任务(Task)已退出。
Auto Trait Implementations§
impl<Item> !RefUnwindSafe for TimerSubmitError<Item>
impl<Item> !UnwindSafe for TimerSubmitError<Item>
impl<Item> Forget for TimerSubmitError<Item>
impl<Item> Freeze for TimerSubmitError<Item>where
Item: Freeze,
impl<Item> Move for TimerSubmitError<Item>
impl<Item> Send for TimerSubmitError<Item>where
Item: Send,
impl<Item> Sync for TimerSubmitError<Item>where
Item: Sync,
impl<Item> Unpin for TimerSubmitError<Item>where
Item: Unpin,
impl<Item> UnsafeUnpin for TimerSubmitError<Item>where
Item: UnsafeUnpin,
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