Skip to main content

is_retryable_error

Function is_retryable_error 

Source
pub fn is_retryable_error(err: &Error) -> bool
Expand description

Whether err is retried by RetryMiddleware: transport-level timeouts and connection failures. Middleware errors are permanent by design — a short-circuit (e.g. an open circuit breaker) must not be masked by retries.