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§fn clone(&self) -> TaskFailed
fn clone(&self) -> TaskFailed
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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