Trait futures_backoff::Condition [] [src]

pub trait Condition<E> {
    fn should_retry(&mut self, error: &E) -> bool;
}

Specifies under which conditions a retry is attempted.

Required Methods

Determine whether to retry based on the previous error.

Implementors