Skip to main content

RetryPolicy

Trait RetryPolicy 

Source
pub trait RetryPolicy:
    Send
    + Sync
    + Debug { }
Expand description

Determines how errors are handled in the retry loop.

Implementations of this trait determine if errors are retryable, and for how long the retry loop may continue.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§