pub trait RetryableError {
    // Required methods
    fn should_retry(&self) -> bool;
    fn attempted(&self) -> bool;
}
Expand description

What errors should be retried

Required Methods§

source

fn should_retry(&self) -> bool

Whether the query should be retried after this error

source

fn attempted(&self) -> bool

Whether this error should count as an attempt

Implementors§