Skip to main content

HandlePredicate

Type Alias HandlePredicate 

Source
pub type HandlePredicate<E> = Arc<dyn Fn(&E) -> bool + Send + Sync>;
Expand description

Predicate to determine if an error should trigger the fallback.

Aliased Typeยง

pub struct HandlePredicate<E> { /* private fields */ }