pub struct ResourceRetryConfig {
pub max_attempts: u8,
pub base_delay_ms: u64,
pub multiplier: f64,
pub max_delay_ms: u64,
pub jitter_factor: f64,
}Expand description
Retry configuration for resources
Fields§
§max_attempts: u8Maximum number of retry attempts
base_delay_ms: u64Base delay in milliseconds
multiplier: f64Exponential multiplier
max_delay_ms: u64Maximum delay cap in milliseconds
jitter_factor: f64Jitter factor (0.0 = no jitter, 1.0 = full jitter)
Trait Implementations§
Source§impl Clone for ResourceRetryConfig
impl Clone for ResourceRetryConfig
Source§fn clone(&self) -> ResourceRetryConfig
fn clone(&self) -> ResourceRetryConfig
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 ResourceRetryConfig
impl Debug for ResourceRetryConfig
Auto Trait Implementations§
impl Freeze for ResourceRetryConfig
impl RefUnwindSafe for ResourceRetryConfig
impl Send for ResourceRetryConfig
impl Sync for ResourceRetryConfig
impl Unpin for ResourceRetryConfig
impl UnwindSafe for ResourceRetryConfig
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