pub struct RetryInfo {
pub attempts: u32,
pub max_attempts: u32,
pub retry_after_ms: Option<u64>,
}
Expand description
Information about retry attempts
Fields§
§attempts: u32
Number of attempts made
max_attempts: u32
Maximum attempts allowed
retry_after_ms: Option<u64>
Next retry delay in milliseconds
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