pub struct RetryInfo {
pub attempt: u32,
pub max_retries: u32,
pub next_retry_at: DateTime<Utc>,
pub retry_reason: String,
pub failed_operations: Vec<String>,
}Expand description
Retry information
Fields§
§attempt: u32Current retry attempt
max_retries: u32Maximum retries allowed
next_retry_at: DateTime<Utc>Next retry time
retry_reason: StringRetry reason
failed_operations: Vec<String>Failed operations to retry
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RetryInfo
impl<'de> Deserialize<'de> for RetryInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RetryInfo
impl RefUnwindSafe for RetryInfo
impl Send for RetryInfo
impl Sync for RetryInfo
impl Unpin for RetryInfo
impl UnwindSafe for RetryInfo
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