pub trait RetryableError {
// Required methods
fn should_retry(&self) -> bool;
fn attempted(&self) -> bool;
}Expand description
What errors should be retried
Required Methods§
Sourcefn should_retry(&self) -> bool
fn should_retry(&self) -> bool
Whether the query should be retried after this error
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".