Trait tokio_retry::Condition [] [src]

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

Specifies under which conditions a retry is attempted.

Required Methods

Implementors