pub(super) trait RetriableError: StdError + Clone {
// Required method
fn should_retry(&self) -> bool;
}Expand description
A trait for representing retriable errors.
Required Methods§
Sourcefn should_retry(&self) -> bool
fn should_retry(&self) -> bool
Whether this error is transient.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".