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.