Skip to main content

ShouldRetryFn

Type Alias ShouldRetryFn 

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

Predicate for whether a response should be retried.

Aliased Type§

pub struct ShouldRetryFn { /* private fields */ }