Expand description

Retry handling and token bucket.

This code defines when and how failed requests should be retried. It also defines the behavior used to limit the rate that requests are sent.

Structs

  • A retry classifier for testing purposes. This classifier always returns Some(RetryReason::Error(ErrorKind)) where ErrorKind is the value provided when creating this classifier.
  • A type to track the number of requests sent by the orchestrator for a given operation.
  • Classifies an error into a RetryReason.
  • A shared retry strategy.

Enums

Traits