pub trait IsRetryable {
// Required method
fn is_retryable(&self) -> bool;
}Expand description
Trait for errors that can be classified as retryable.
Required Methods§
Sourcefn is_retryable(&self) -> bool
fn is_retryable(&self) -> bool
Returns true if the operation should be retried.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".