Skip to main content

RetryIf

Type Alias RetryIf 

pub type RetryIf = Arc<dyn Fn(&Failure, u32) -> bool + Send + Sync>;
Expand description

Decides whether a failure may be retried, given the attempt that failed.

Aliased Typeยง

pub struct RetryIf { /* private fields */ }