pub enum ErrorCode {
RmError,
InvalidTransactionId,
InvalidArguments,
ProtocolError,
RmFailure,
DuplicateTransactionId,
UnknownErrorCode(i32),
}
Expand description
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.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more