pub fn constant(delay: Duration, max_times: Option<usize>) -> ConstantBuilderExpand description
Builds a constant-delay backoff schedule.
max_times bounds the number of retries; pass None to retry indefinitely.
pub fn constant(delay: Duration, max_times: Option<usize>) -> ConstantBuilderBuilds a constant-delay backoff schedule.
max_times bounds the number of retries; pass None to retry indefinitely.