pub struct DeclarativeRetryPolicy {
pub max_attempts: u32,
pub initial_delay_ms: u64,
pub multiplier: f64,
pub max_delay_ms: u64,
pub handled_by: Option<String>,
}Fields§
§max_attempts: u32§initial_delay_ms: u64§multiplier: f64§max_delay_ms: u64§handled_by: Option<String>Trait Implementations§
Source§impl Clone for DeclarativeRetryPolicy
impl Clone for DeclarativeRetryPolicy
Source§fn clone(&self) -> DeclarativeRetryPolicy
fn clone(&self) -> DeclarativeRetryPolicy
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 DeclarativeRetryPolicy
impl Debug for DeclarativeRetryPolicy
Source§impl PartialEq for DeclarativeRetryPolicy
impl PartialEq for DeclarativeRetryPolicy
impl StructuralPartialEq for DeclarativeRetryPolicy
Auto Trait Implementations§
impl Freeze for DeclarativeRetryPolicy
impl RefUnwindSafe for DeclarativeRetryPolicy
impl Send for DeclarativeRetryPolicy
impl Sync for DeclarativeRetryPolicy
impl Unpin for DeclarativeRetryPolicy
impl UnsafeUnpin for DeclarativeRetryPolicy
impl UnwindSafe for DeclarativeRetryPolicy
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