pub struct TaskPermanentFailure<'a> {
pub attempt_count: i32,
pub storage_error: &'a str,
pub display_error: &'a str,
pub failed_steps_json: Option<&'a str>,
pub failure_can_retry: bool,
pub finished_at: DateTime<Utc>,
}Expand description
Failure update passed to product storage after a task exhausts automatic retry.
Fields§
§attempt_count: i32Attempt count to persist for the just-finished execution.
storage_error: &'a strTruncated/storable error string.
display_error: &'a strHuman-facing error string used for logs and step details.
failed_steps_json: Option<&'a str>Serialized task steps after marking the active step failed, if available.
failure_can_retry: boolWhether a later manual retry should be allowed.
finished_at: DateTime<Utc>Timestamp when the failure is recorded.
Auto Trait Implementations§
impl<'a> Freeze for TaskPermanentFailure<'a>
impl<'a> RefUnwindSafe for TaskPermanentFailure<'a>
impl<'a> Send for TaskPermanentFailure<'a>
impl<'a> Sync for TaskPermanentFailure<'a>
impl<'a> Unpin for TaskPermanentFailure<'a>
impl<'a> UnsafeUnpin for TaskPermanentFailure<'a>
impl<'a> UnwindSafe for TaskPermanentFailure<'a>
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