[−][src]Trait again::Condition
A type to determine if a failed Future should be retried
A implementation is provided for Fn(&Err) -> bool
allowing you
to use simple closure or fn handles
Required methods
fn is_retryable(&mut self, error: &E) -> bool
Return true if an Futures error is worth retrying
Implementors
impl<F, E> Condition<E> for F where
F: Fn(&E) -> bool,
[src]
F: Fn(&E) -> bool,