pub enum SagaAuditRecord {
Attempt(SagaAttemptAuditRow),
Transition(SagaTransitionAuditRow),
Control(SagaControlAuditRow),
Management(SagaManagementAuditRow),
Conflict(SagaConflictFactRow),
}Expand description
业务作用:用封闭类别承载统一审计页中的一条事实,不向协议层暴露数据库表选择逻辑。
Variants§
Attempt(SagaAttemptAuditRow)
command attempt 事实及其开始时间。
Transition(SagaTransitionAuditRow)
Saga 状态迁移事实。
Control(SagaControlAuditRow)
pause/resume 控制态事实。
Management(SagaManagementAuditRow)
人工恢复或关闭事实。
Conflict(SagaConflictFactRow)
互斥结果证据。
Trait Implementations§
Source§impl Clone for SagaAuditRecord
impl Clone for SagaAuditRecord
Source§impl Debug for SagaAuditRecord
impl Debug for SagaAuditRecord
impl Eq for SagaAuditRecord
Source§impl PartialEq for SagaAuditRecord
impl PartialEq for SagaAuditRecord
impl StructuralPartialEq for SagaAuditRecord
Auto Trait Implementations§
impl Forget for SagaAuditRecord
impl Freeze for SagaAuditRecord
impl Move for SagaAuditRecord
impl RefUnwindSafe for SagaAuditRecord
impl Send for SagaAuditRecord
impl Sync for SagaAuditRecord
impl Unpin for SagaAuditRecord
impl UnsafeUnpin for SagaAuditRecord
impl UnwindSafe for SagaAuditRecord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more