Enum dist_tx::rm::RmRc
[−]
[src]
pub enum RmRc { RollbackUnspecified, RollbackCommunicationFailure, RollbackDeadlock, RollbackIntegrity, RollbackOther, RollbackProtocol, RollbackTimeout, RollbackTransient, HeuristicallyCompleted, HeuristicallyCommitted, HeuristicallyRolledBack, HeuristicallyMessedUp, Retry, ReadOnlyCommitted, Ok, UnknownErrorCode(i32), }
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.
Methods
impl RmRc
[src]
Trait Implementations
impl Clone for RmRc
[src]
fn clone(&self) -> RmRc
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more