Skip to main content

ShouldFallBack

Type Alias ShouldFallBack 

Source
pub type ShouldFallBack = Box<dyn Fn(&DynError) -> bool + Send + Sync>;
Expand description

Predicate deciding whether a given error should cause fallback. Default: any error causes fallback.

Aliased Typeยง

pub struct ShouldFallBack(/* private fields */);