Crate dist_tx

Crate dist_tx 

Source
Expand description

Rust language bindings for XA Distributed Transactions.

  • A synchronous variant is provided in module sync
  • An asynchronous variant is provided in module a_sync

See the respective module description for more details.

Technically, the features sync and async are both optional features, usually you need exactly one of them. Select the feature sync or async explicitly.

Modules§

a_syncasync
An asynchronous rust language binding for XA Distributed Transactions.
syncsync
A synchronous rust language binding for XA Distributed Transactions.

Structs§

Flags
Flags that are used by the methods in the ResourceManager traits (sync::rm::ResourceManager and a_sync::rm::ResourceManager).
RmError
Represents the possible errors that can occur in a ResourceManager ( sync::rm::ResourceManager and a_sync::rm::ResourceManager ).
XaTransactionId
The ID of a distributed transaction, in analogy to the X/Open XA standard.

Enums§

ErrorCode
Errors occuring in resource managers.
ReturnCode
Return codes used by resource managers.
XaError
Error of Transaction Manager.