pub fn with_retry_policy<R>(policy: RetryPolicy, f: impl FnOnce() -> R) -> RExpand description
Executes the given function with the retry policy set to the given value.
pub fn with_retry_policy<R>(policy: RetryPolicy, f: impl FnOnce() -> R) -> RExecutes the given function with the retry policy set to the given value.