pub enum RmRc {
Show 16 variants
RollbackUnspecified,
RollbackCommunicationFailure,
RollbackDeadlock,
RollbackIntegrity,
RollbackOther,
RollbackProtocol,
RollbackTimeout,
RollbackTransient,
HeuristicallyCompleted,
HeuristicallyCommitted,
HeuristicallyRolledBack,
HeuristicallyMessedUp,
Retry,
ReadOnlyCommitted,
Ok,
UnknownErrorCode(i32),
}
Expand description
Return codes used by resource managers.
Variants
RollbackUnspecified
A rollback was caused by an unspecified reason.
RollbackCommunicationFailure
A rollback was caused by a communication failure.
RollbackDeadlock
A deadlock was detected.
RollbackIntegrity
A condition that violates the integrity of the resources was detected.
RollbackOther
The transaction branch was rolled back for a reason not on this list.
RollbackProtocol
A protocol error occurred in the resource manager.
RollbackTimeout
A transaction branch took too long.
RollbackTransient
Transient issue, a retry with this transaction branch may work.
HeuristicallyCompleted
The transaction branch has been heuristically completed.
HeuristicallyCommitted
The transaction branch has been heuristically committed.
HeuristicallyRolledBack
The transaction branch has been heuristically rolled back.
HeuristicallyMessedUp
The transaction branch has been heuristically committed and rolled back.
Retry
Nothing has happened, action may be retried.
ReadOnlyCommitted
The transaction branch was read-only and has been committed.
Ok
Normal execution.
UnknownErrorCode(i32)
Should never be used.