Expand description
Module for housing transport layers.
Structs§
- Fallback
Layer - Fallback layer for transparent transport failover. This layer will consume a list of transports to provide better availability and reliability.
- Fallback
Service - The
FallbackService
consumes multiple transports and is able to query them in parallel, returning the first successful response. - Rate
Limit Retry Policy - RateLimitRetryPolicy implements RetryPolicy to determine whether to retry depending on the err.
- Retry
Backoff Layer - A Transport Layer that is responsible for retrying requests based on the
error type. See
TransportError
. - Retry
Backoff Service - A Tower Service used by the RetryBackoffLayer that is responsible for retrying requests based on the error type. See TransportError and RateLimitRetryPolicy.
Traits§
- Retry
Policy - RetryPolicy defines logic for which TransportError instances should the client retry the request and try to recover from.