Skip to main content

Crate loop_retry

Crate loop_retry 

Source
Expand description

Generic async retry with exponential backoff and jitter.

Use with_backoff to retry fallible async operations with configurable backoff strategy. Implement IsRetryable on your error type to control which errors trigger retries.

Structs§

RetryConfig
Configuration for retry behavior.

Enums§

RetryError
Error type for retry operations.

Traits§

IsRetryable
Trait for errors that can be classified as retryable.

Functions§

with_backoff
Retry an async operation with exponential backoff.