Module cdrs_tokio::retry
source · Structs§
- Schedules reconnection at constant interval.
- Default retry policy - retries when there is a high chance that a retry might help.
Behaviour based on DataStax Java Driver - A reconnection policy that waits exponentially longer between each reconnection attempt (but keeps a constant delay once a maximum delay is reached). The delay will increase exponentially, with an added jitter.
- Forwards all errors directly to the user, never retries
- Never schedules reconnections.
- Information about a failed query.
Enums§
Traits§
- Creates reconnection schedules when trying to re-establish connections.
- Determines the time for the next reconnection attempt when trying to reconnect to a node.
- Retry policy determines what to do in case of communication error.
- Query-specific information about current state of retrying.