Expand description
Minimal retry helpers (replaces git-only resilient-call for crates.io).
Structs§
- Retry
Error - Error wrapper that can carry a source error or a timeout.
- Retry
Policy - Simple retry policy: max attempts with exponential backoff + jitter-ish delay.
Functions§
- retry
- Retry
make_futup topolicy.max_attemptswhenis_retryablesays so. - with_
timeout - Run
futwith an outer timeout. On timeout returnsRetryErrorwith no source.