Skip to main content

is_retryable_serialization

Function is_retryable_serialization 

Source
pub fn is_retryable_serialization(err: &Error) -> bool
Expand description

True iff err is a retryable serialization/deadlock fault. Exposed for callers that run their own SERIALIZABLE-tx retry loop and need to tell retryable from fatal on sqlx errors.