pub fn new_with_handle(
        handle: TimerHandle,
        strategy: &Strategy,
        mut action: A,
        condition: C
    ) -> RetryIf<A, C> {
        RetryIf {
            strategy_iter: strategy.iter(),
            state: RetryState::Running(action.run()),
            action: action,
            handle: handle,
            condition: condition,
        }
    }
/// Creates a new retry future, using the provided `handle` to schedule timeouts.
Creates a new retry future, using the provided `handle` to schedule timeouts.
Creates a new retry future using the provided ` handle ` to schedule timeouts .
pub fn new_with_handle(
        handle: TimerHandle,
        strategy: &Strategy,
        mut action: A,
        condition: C
    ) -> RetryIf<A, C> {
        RetryIf {
            strategy_iter: strategy.iter(),
            state: RetryState::Running(action.run()),
            action: action,
            handle: handle,
            condition: condition,
        }
    }
pub fn new_with_handle ( handle : TimerHandle , strategy : & Strategy , mut action : A , condition : C ) -> RetryIf < A , C > { RetryIf { strategy_iter : strategy . iter ( ) , state : RetryState :: Running ( action . run ( ) ) , action : action , handle : handle , condition : condition , } }
Creates a new retry future, using the provided `handle` to schedule timeouts.
Creates a new retry future using the provided ` handle ` to schedule timeouts .
handle
TimerHandle
strategy
&Strategy
action
A
condition
C