Enum dist_tx::rm::ErrorCode [] [src]

pub enum ErrorCode {
    RmError,
    InvalidTransactionId,
    InvalidArguments,
    ProtocolError,
    RmFailure,
    DuplicateTransactionId,
    UnknownErrorCode(i32),
}

Errors occuring in resource managers.

Variants

A resource manager error occurred in the transaction branch.

Invalid Transaction ID.

Invalid arguments were given.

routine invoked in an improper context.

resource manager is unavailable.

The XID already exists.

Should never be used.

Methods

impl ErrorCode
[src]

[src]

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

Trait Implementations

impl Clone for ErrorCode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ErrorCode
[src]

[src]

Formats the value using the given formatter.