Module dist_tx::rm

source ·
Expand description

Interface of a resource manager, as required by a transaction manager.

Implementors can choose between implementing ResourceManager directly, or implementing CResourceManager (which is closer to the XA C API) and wrap it into CRmWrapper to get an implementation of the more idiomatic ResourceManager trait.

Structs

Wraps an instance of CResourceManager and implements ResourceManager.
Flag values that are used by the methods in ResourceManager.
Represents the possible errors that can occur in a ResourceManager.

Enums

Errors occuring in resource managers.
Return codes used by resource managers.

Traits

Interface of a resource manager that is close to the XA standard.
Interface of a resource manager, as required by a transaction manager.

Type Definitions

An abbreviation of Result<T, XaError>.