Expand description
Saga pattern for atomic multi-step operations.
This crate provides infrastructure for executing multi-step operations with automatic rollback on failure. Each step produces an output that becomes the next step’s input, and stores the original input for compensation.
Structs§
- Compensation
Error - Error from a failed compensation operation.
- Saga
- A compiled saga ready for execution.
- Saga
Audit Log - Audit log tracking all step executions in a saga.
- Saga
Builder - Type-state builder for constructing type-safe sagas.
- Step
Record - Record of a step’s execution in the saga.
Enums§
- Saga
Error - Error from saga execution.
- Step
Status - Status of a step in the audit log.
Traits§
- Saga
Step - A step in a saga that can be executed and compensated.