Enum dynomite::retry::Policy [−][src]
Expand description
Pre-configured retry policies for fallible operations
A Default
impl of retrying 5 times with an exponential backoff of 100 milliseconds
Variants
Limit(usize)
Limited number of times to retry
Limited number of times to retry with fixed pause between retries
Limited number of times to retry with an exponential pause between retries
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Policy
impl UnwindSafe for Policy
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more