pub struct TaskRetryUpdate<'a> {
pub attempt_count: i32,
pub retry_at: DateTime<Utc>,
pub storage_error: &'a str,
pub display_error: &'a str,
pub failed_steps_json: Option<&'a str>,
}Expand description
Retry update passed to product storage after an automatically retryable failure.
Fields§
§attempt_count: i32Attempt count to persist for the just-finished execution.
retry_at: DateTime<Utc>Timestamp when the next automatic retry should become due.
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.
Auto Trait Implementations§
impl<'a> Freeze for TaskRetryUpdate<'a>
impl<'a> RefUnwindSafe for TaskRetryUpdate<'a>
impl<'a> Send for TaskRetryUpdate<'a>
impl<'a> Sync for TaskRetryUpdate<'a>
impl<'a> Unpin for TaskRetryUpdate<'a>
impl<'a> UnsafeUnpin for TaskRetryUpdate<'a>
impl<'a> UnwindSafe for TaskRetryUpdate<'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