pub struct InfiniteRetryStrategy {
    pub duration_between_retries: Duration,
}
Expand description

Infinite retry

Fields

duration_between_retries: Duration

Trait Implementations

attempts_before means how many attempts a future was trying to resolve to Ok(_) after returning Err(_). Read more
If true, errors propagated using ? inside a future will be retried. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.