pub fn use_retry_policy(policy: RetryPolicy) -> RetryPolicyGuard
Expand description
Temporarily sets the retry policy to the given value.
When the returned guard is dropped, the original retry policy is restored.
pub fn use_retry_policy(policy: RetryPolicy) -> RetryPolicyGuard
Temporarily sets the retry policy to the given value.
When the returned guard is dropped, the original retry policy is restored.