with_retry_policy

Function with_retry_policy 

Source
pub fn with_retry_policy<R>(policy: RetryPolicy, f: impl FnOnce() -> R) -> R
Expand description

Executes the given function with the retry policy set to the given value.