pub trait Retryable {
// Required method
fn should_retry(&self) -> bool;
}Expand description
Output that can indicate whether retry is appropriate.
Required Methods§
Sourcefn should_retry(&self) -> bool
fn should_retry(&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".