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

A rollback was caused by an unspecified reason.

A rollback was caused by a communication failure.

A deadlock was detected.

A condition that violates the integrity of the resources was detected.

The transaction branch was rolled back for a reason not on this list.

A protocol error occurred in the resource manager.

A transaction branch took too long.

Transient issue, a retry with this transaction branch may work.

The transaction branch has been heuristically completed.

The transaction branch has been heuristically committed.

The transaction branch has been heuristically rolled back.

The transaction branch has been heuristically committed and rolled back.

Nothing has happened, action may be retried.

The transaction branch was read-only and has been committed.

Normal execution.

Should never be used.

Methods

impl RmRc
[src]

[src]

Instantiate from the error code as defined in the XA standard.

Trait Implementations

impl Clone for RmRc
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RmRc
[src]

[src]

Formats the value using the given formatter.