Crate finito

Source
Expand description

finito provides retry mechanisms to retry async operations.

It’s based off tokio-retry with the difference that it isn’t coupled to any specific async runtime and that it compiles for WASM.

Structs§

ExponentialBackoff
A retry strategy driven by exponential back-off.
FibonacciBackoff
A retry strategy driven by the fibonacci series.
FixedInterval
A retry strategy driven by a fixed interval.
Retry
Future that drives multiple attempts at an action via a retry strategy.
RetryIf
Future that drives multiple attempts at an action via a retry strategy. Retries are only attempted if the Error returned by the future satisfies a given condition.

Traits§

Action
An action can be run multiple times and produces a future.
Condition
Specifies under which conditions a retry is attempted.