pub struct RetrySection {
pub max_retries: Option<usize>,
pub initial_delay_ms: Option<u64>,
pub backoff_multiplier: Option<f64>,
pub max_delay_ms: Option<u64>,
}Expand description
Retry configuration for transient provider errors.
Fields§
§max_retries: Option<usize>Maximum retry attempts (0 = no retries).
initial_delay_ms: Option<u64>Initial delay before first retry in milliseconds.
backoff_multiplier: Option<f64>Backoff multiplier applied each attempt.
max_delay_ms: Option<u64>Maximum delay cap in milliseconds.
Trait Implementations§
Source§impl Clone for RetrySection
impl Clone for RetrySection
Source§fn clone(&self) -> RetrySection
fn clone(&self) -> RetrySection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RetrySection
impl Debug for RetrySection
Source§impl Default for RetrySection
impl Default for RetrySection
Source§fn default() -> RetrySection
fn default() -> RetrySection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RetrySectionwhere
RetrySection: Default,
impl<'de> Deserialize<'de> for RetrySectionwhere
RetrySection: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RetrySection
impl RefUnwindSafe for RetrySection
impl Send for RetrySection
impl Sync for RetrySection
impl Unpin for RetrySection
impl UnsafeUnpin for RetrySection
impl UnwindSafe for RetrySection
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