Module future

Module future 

Source

Structs§

Retry
Retry implementation.

Traits§

Sleeper

Functions§

retry
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_notify
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.