RetryableError

Trait RetryableError 

Source
pub trait RetryableError<SP = NotSpecialized>:
    Error
    + MaybeSend
    + MaybeSync {
    // Required method
    fn is_retryable(&self) -> bool;
}
Expand description

Specifies which errors are retryable. All Errors are not retryable by-default.

Required Methods§

Implementations on Foreign Types§

Source§

impl RetryableError for Infallible

Source§

impl<E: RetryableError> RetryableError for Box<E>

Source§

impl<T> RetryableError for &T
where T: RetryableError,

Implementors§