Skip to main content

IsRetryable

Trait IsRetryable 

Source
pub trait IsRetryable {
    // Required method
    fn is_retryable(&self) -> bool;
}
Expand description

Trait for errors that can be classified as retryable.

Required Methods§

Source

fn is_retryable(&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".

Implementations on Foreign Types§

Source§

impl IsRetryable for AddrParseError

Source§

impl IsRetryable for Error

Implementors§