Trait RetryableError

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

What errors should be retried

Required Methods§

fn should_retry(&self) -> bool

Whether the query should be retried after this error

fn attempted(&self) -> bool

Whether this error should count as an attempt

Implementors§