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,
Execute a future with retries where the error type is Retryable.
Retryable