pub fn retry_future<F, Fut, T, E>(
    f: F
) -> RetryFuture<F, Fut, ErrorBackoff<E>, LogOnRetry> where
    F: FnMut() -> Fut,
    Fut: Future<Output = Result<T, E>>,
    E: Retryable
Expand description

Execute a future with retries where the error type is Retryable.