pub struct WorkerTaskFailure {
pub task_id: String,
pub lease_owner: String,
pub attempt_count: u32,
pub error_kind: String,
pub error_message: String,
pub retry_backoff_ms: u64,
pub max_attempts: u32,
pub now_ms: u64,
}Expand description
Worker failure report for retry and dead-letter handling.
Fields§
§task_id: String§lease_owner: String§attempt_count: u32§error_kind: String§error_message: String§retry_backoff_ms: u64§max_attempts: u32§now_ms: u64Trait Implementations§
Source§impl Clone for WorkerTaskFailure
impl Clone for WorkerTaskFailure
Source§fn clone(&self) -> WorkerTaskFailure
fn clone(&self) -> WorkerTaskFailure
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 WorkerTaskFailure
impl Debug for WorkerTaskFailure
Source§impl PartialEq for WorkerTaskFailure
impl PartialEq for WorkerTaskFailure
Source§fn eq(&self, other: &WorkerTaskFailure) -> bool
fn eq(&self, other: &WorkerTaskFailure) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WorkerTaskFailure
impl StructuralPartialEq for WorkerTaskFailure
Auto Trait Implementations§
impl Freeze for WorkerTaskFailure
impl RefUnwindSafe for WorkerTaskFailure
impl Send for WorkerTaskFailure
impl Sync for WorkerTaskFailure
impl Unpin for WorkerTaskFailure
impl UnsafeUnpin for WorkerTaskFailure
impl UnwindSafe for WorkerTaskFailure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.