pub struct Retry {
pub attempts: u32,
pub backoff_ms: i64,
pub exponential: bool,
}Expand description
§35.5: retry policy on sends — declarative, driven by the runtime’s own deterministic timers (no clock).
Fields§
§attempts: u32§backoff_ms: i64§exponential: boolexponential (double) backoff between attempts
Trait Implementations§
impl StructuralPartialEq for Retry
Auto Trait Implementations§
impl Freeze for Retry
impl RefUnwindSafe for Retry
impl Send for Retry
impl Sync for Retry
impl Unpin for Retry
impl UnsafeUnpin for Retry
impl UnwindSafe for Retry
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