pub struct TaskFailed {
pub id: String,
pub name: String,
pub attempts: u32,
}Expand description
Fired when a worker marks a task as terminal failure (no more retries).
Fields§
§id: String§name: String§attempts: u32Trait Implementations§
Source§impl Clone for TaskFailed
impl Clone for TaskFailed
Source§impl Debug for TaskFailed
impl Debug for TaskFailed
Auto Trait Implementations§
impl Freeze for TaskFailed
impl RefUnwindSafe for TaskFailed
impl Send for TaskFailed
impl Sync for TaskFailed
impl Unpin for TaskFailed
impl UnsafeUnpin for TaskFailed
impl UnwindSafe for TaskFailed
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