pub struct IntermediateRetryConfig {
pub max_attempts: u32,
pub backoff_strategy: String,
pub initial_delay_ms: u32,
pub max_delay_ms: u32,
}Expand description
Retry configuration for observer actions.
§Example JSON
{
"max_attempts": 5,
"backoff_strategy": "exponential",
"initial_delay_ms": 100,
"max_delay_ms": 60000
}Fields§
§max_attempts: u32Maximum number of retry attempts
backoff_strategy: StringBackoff strategy: exponential, linear, or fixed
initial_delay_ms: u32Initial delay in milliseconds
max_delay_ms: u32Maximum delay in milliseconds
Trait Implementations§
Source§impl Clone for IntermediateRetryConfig
impl Clone for IntermediateRetryConfig
Source§fn clone(&self) -> IntermediateRetryConfig
fn clone(&self) -> IntermediateRetryConfig
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 IntermediateRetryConfig
impl Debug for IntermediateRetryConfig
Source§impl<'de> Deserialize<'de> for IntermediateRetryConfig
impl<'de> Deserialize<'de> for IntermediateRetryConfig
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
Source§impl PartialEq for IntermediateRetryConfig
impl PartialEq for IntermediateRetryConfig
Source§impl Serialize for IntermediateRetryConfig
impl Serialize for IntermediateRetryConfig
impl Eq for IntermediateRetryConfig
impl StructuralPartialEq for IntermediateRetryConfig
Auto Trait Implementations§
impl Freeze for IntermediateRetryConfig
impl RefUnwindSafe for IntermediateRetryConfig
impl Send for IntermediateRetryConfig
impl Sync for IntermediateRetryConfig
impl Unpin for IntermediateRetryConfig
impl UnwindSafe for IntermediateRetryConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.