pub fn retry_if<A: Action, C>(&self, action: A, condition: C) -> RetryIf<A, C>
        where C: Condition<A::Error>
    {
        RetryIf::new(self, action, condition)
    }
/// Run the given action, and use this strategy to retry on failure if the error satisfies a given condition.
Run the given action, and use this strategy to retry on failure if the error satisfies a given condition.
Run the given action and use this strategy to retry on failure if the error satisfies a given condition .
pub fn retry_if<A: Action, C>(&self, action: A, condition: C) -> RetryIf<A, C>
        where C: Condition<A::Error>
    {
        RetryIf::new(self, action, condition)
    }
pub fn retry_if < A : Action , C > ( & self , action : A , condition : C ) -> RetryIf < A , C > where C : Condition < A :: Error > { RetryIf :: new ( self , action , condition ) }
Run the given action, and use this strategy to retry on failure if the error satisfies a given condition.
Run the given action and use this strategy to retry on failure if the error satisfies a given condition .
&self
action
A
condition
C