pub fn use_retry_policy(policy: RetryPolicy) -> RetryPolicyGuardExpand 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) -> RetryPolicyGuardTemporarily sets the retry policy to the given value.
When the returned guard is dropped, the original retry policy is restored.