Function retry_with_options

Source
pub fn retry_with_options<Delay, DelayStrat, DelayExec, Out, Op>(
    operation: Op,
    options: RetryOptions<Delay, DelayStrat, DelayExec>,
) -> Out
where Delay: Debug + Clone, DelayStrat: DelayStrategy<Delay> + Debug, DelayExec: DelayExecutor<Delay> + Debug, Out: NeedsRetry + Debug, Op: Fn() -> Out,