pub struct RetryNotice {
pub provider: String,
pub reason: String,
pub attempt: u32,
pub max_attempts: u32,
pub delay_ms: u64,
}Expand description
One pending provider retry.
Fields§
§provider: StringShort provider label (route host).
reason: StringWhy the previous attempt failed: rate limited, HTTP 503,
connection error, stream interrupted.
attempt: u32The retry about to run (1-based).
max_attempts: u32Retries the ladder allows.
delay_ms: u64Backoff the adapter sleeps before the retry.
Trait Implementations§
Source§impl Clone for RetryNotice
impl Clone for RetryNotice
Source§impl Debug for RetryNotice
impl Debug for RetryNotice
impl Eq for RetryNotice
Source§impl PartialEq for RetryNotice
impl PartialEq for RetryNotice
impl StructuralPartialEq for RetryNotice
Auto Trait Implementations§
impl Freeze for RetryNotice
impl RefUnwindSafe for RetryNotice
impl Send for RetryNotice
impl Sync for RetryNotice
impl Unpin for RetryNotice
impl UnsafeUnpin for RetryNotice
impl UnwindSafe for RetryNotice
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