pub struct RetryConfiguration {
pub MaximumAttempts: u32,
pub BaseDelay: Duration,
pub MaximumDelay: Duration,
pub JitterEnabled: bool,
}Expand description
Configuration for retry behaviour.
Fields§
§MaximumAttempts: u32Maximum number of retry attempts.
BaseDelay: DurationBase delay for exponential backoff.
MaximumDelay: DurationMaximum delay cap.
JitterEnabled: boolWhether to add jitter to retry delays.
Trait Implementations§
Source§impl Clone for RetryConfiguration
impl Clone for RetryConfiguration
Source§fn clone(&self) -> RetryConfiguration
fn clone(&self) -> RetryConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RetryConfiguration
impl Debug for RetryConfiguration
Auto Trait Implementations§
impl Freeze for RetryConfiguration
impl RefUnwindSafe for RetryConfiguration
impl Send for RetryConfiguration
impl Sync for RetryConfiguration
impl Unpin for RetryConfiguration
impl UnsafeUnpin for RetryConfiguration
impl UnwindSafe for RetryConfiguration
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