RetryPolicyResult

Type Alias RetryPolicyResult 

Source
pub type RetryPolicyResult = (ServerStatus, RetryTime);
Expand description

Result of the retry policy.

RetryPolicy::should_retry returns this type to indicate the status of the server and the time to wait before retrying the request.