Module future

Module future 

Source
Available on crate feature futures only.

Structs§

Retry
Retry implementation.

Traits§

Sleeper

Functions§

retrytokio or async-std
Retries given operation according to the Backoff policy Backoff is reset before it is used. The returned future can be spawned onto a compatible runtime.
retry_notifytokio or async-std
Retries given operation according to the Backoff policy. Calls notify on failed attempts (in case of Error::Transient). Backoff is reset before it is used. The returned future can be spawned onto a compatible runtime.