pub struct RetryEvent {
pub url: String,
pub retry: u32,
pub reason: String,
pub delay: Duration,
}Expand description
One retry decision, reported to ClientConfig::on_retry.
Fields§
§url: String§retry: u32Retry number about to run (1 = first retry).
reason: String§delay: DurationTrait Implementations§
Source§impl Clone for RetryEvent
impl Clone for RetryEvent
Auto Trait Implementations§
impl Freeze for RetryEvent
impl RefUnwindSafe for RetryEvent
impl Send for RetryEvent
impl Sync for RetryEvent
impl Unpin for RetryEvent
impl UnsafeUnpin for RetryEvent
impl UnwindSafe for RetryEvent
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