pub trait Condition<E> {
// Required method
fn should_retry(&mut self, error: &E) -> bool;
}
Expand description
Specifies under which conditions a retry is attempted.
pub trait Condition<E> {
// Required method
fn should_retry(&mut self, error: &E) -> bool;
}
Specifies under which conditions a retry is attempted.