pub struct RedeliveryPolicy {
pub max_redeliveries: u32,
pub initial_backoff: Duration,
pub backoff_multiplier: f64,
}Fields§
§max_redeliveries: u32§initial_backoff: Duration§backoff_multiplier: f64Backoff multiplier applied between attempts (>= 1.0). 1.0 = constant.
Implementations§
Trait Implementations§
Source§impl Clone for RedeliveryPolicy
impl Clone for RedeliveryPolicy
Source§fn clone(&self) -> RedeliveryPolicy
fn clone(&self) -> RedeliveryPolicy
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 RedeliveryPolicy
impl Debug for RedeliveryPolicy
impl Copy for RedeliveryPolicy
Auto Trait Implementations§
impl Freeze for RedeliveryPolicy
impl RefUnwindSafe for RedeliveryPolicy
impl Send for RedeliveryPolicy
impl Sync for RedeliveryPolicy
impl Unpin for RedeliveryPolicy
impl UnsafeUnpin for RedeliveryPolicy
impl UnwindSafe for RedeliveryPolicy
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