Enum dist_tx::rm::ErrorCode
[−]
[src]
pub enum ErrorCode { RmError, InvalidTransactionId, InvalidArguments, ProtocolError, RmFailure, DuplicateTransactionId, UnknownErrorCode(i32), }
Errors occuring in resource managers.
Variants
RmError
A resource manager error occurred in the transaction branch.
InvalidTransactionId
Invalid Transaction ID.
InvalidArguments
Invalid arguments were given.
ProtocolError
routine invoked in an improper context.
RmFailure
resource manager is unavailable.
DuplicateTransactionId
The XID already exists.
UnknownErrorCode(i32)
Should never be used.
Methods
impl ErrorCode
[src]
fn from_i32(i: i32) -> ErrorCode
[src]
Instantiate from the error code as defined in the XA standard.
Trait Implementations
impl Clone for ErrorCode
[src]
fn clone(&self) -> ErrorCode
[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