Enum azure_core::RetryMode
source · [−]pub enum RetryMode {
Exponential,
Fixed,
None,
}
Expand description
The algorithm to apply when calculating the delay between retry attempts.
Variants
Exponential
Retry attempts will delay based on a back-off strategy, where each attempt will increase the duration that it waits before retrying.
This is the default.
Fixed
Retry attempts happen at fixed intervals; each delay is a consistent duration.
None
Do not retry attempts.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RetryMode
impl UnwindSafe for RetryMode
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more