Skip to main content

RecoveryPredicate

Type Alias RecoveryPredicate 

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

Decides whether a source failure may be answered from the stale value retained by the initial remote read.

Aliased Typeยง

pub struct RecoveryPredicate { /* private fields */ }