[][src]Module tryhard::backoff_strategies

The types of backoff strategies that are supported

Structs

CustomBackoffStrategy

A custom backoff strategy defined by a function.

ExponentialBackoff

Exponential backoff. The delay will double each time.

FixedBackoff

Fixed backoff. The delay wont change between attempts.

LinearBackoff

Linear backoff. The delay will scale linearly with the number of attempts.

NoBackoff

No backoff. This will make the future be retried immediately without any delay in between attempts.

Traits

BackoffStrategy

Trait for computing the amount of delay between attempts.