pub fn fixed(delay: Duration) -> Self {
        Self {
            backoff: Backoff::Fixed,
            delay,
            ..Self::default()
        }
    }
/// Configures policy with a fixed
/// backoff delay.
///
/// By default, Futures will be retried 5 times.
///
/// These delays will increase in
/// length over time. You may wish to configure how many
/// times a Future will be retried using the [`with_max_retries`](struct.RetryPolicy.html#method.with_max_retries) fn
Configures policy with a fixed
backoff delay.

By default, Futures will be retried 5 times.

These delays will increase in
length over time. You may wish to configure how many
times a Future will be retried using the [`with_max_retries`](struct.RetryPolicy.html#method.with_max_retries) fn
Configures policy with a fixed backoff delay . By default Futures will be retried 5 times . These delays will increase in length over time . You may wish to configure how many times a Future will be retried using the [ ` with_max_retries ` ] ( struct . RetryPolicy . html#method . with_max_retries ) fn
pub fn fixed(delay: Duration) -> Self {
        Self {
            backoff: Backoff::Fixed,
            delay,
            ..Self::default()
        }
    }
pub fn fixed ( delay : Duration ) -> Self { Self { backoff : Backoff :: Fixed , delay , .. Self :: default ( ) } }
Configures policy with a fixed
backoff delay.
Configures policy with a fixed backoff delay .
delay
Duration
delay
Duration