pub struct ReceiptPollerConfig {
pub initial_interval: Duration,
pub max_interval: Duration,
pub multiplier: f64,
pub max_attempts: u32,
}Expand description
Configuration for ReceiptPoller exponential-backoff strategy.
Fields§
§initial_interval: DurationInitial poll interval.
max_interval: DurationMaximum poll interval (cap).
multiplier: f64Backoff multiplier applied on each successive attempt.
max_attempts: u32Maximum number of attempts before giving up.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReceiptPollerConfig
impl RefUnwindSafe for ReceiptPollerConfig
impl Send for ReceiptPollerConfig
impl Sync for ReceiptPollerConfig
impl Unpin for ReceiptPollerConfig
impl UnsafeUnpin for ReceiptPollerConfig
impl UnwindSafe for ReceiptPollerConfig
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