Module dist_tx::rm [] [src]

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

CRmWrapper

Wrapper around and instance of CResourceManager that implements ResourceManager.

Flags

Flag values that are used by the methods in ResourceManager.

RmError

Represents the possible errors that can occur in a ResourceManager.

Enums

ErrorCode

Errors occuring in resource managers.

RmRc

Return codes used by resource managers.

Traits

CResourceManager

Interface of a resource manager that is close to the XA standard.

ResourceManager

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

Type Definitions

RmResult

An abbreviation of Result<T, XaError>.