pub enum HandleOutcome {
Applied {
status: SagaStatus,
},
Duplicate,
}Expand description
业务作用:区分结果处理的两种可 ACK 结论。
Variants§
Applied
已推进(或迟到结果已记账);status 为提交后的实例状态。
Fields
§
status: SagaStatus事务提交后的实例业务状态。
Duplicate
Inbox 命中重复结果事件;无新副作用,直接 ACK。
Trait Implementations§
Source§impl Clone for HandleOutcome
impl Clone for HandleOutcome
Source§impl Debug for HandleOutcome
impl Debug for HandleOutcome
impl Eq for HandleOutcome
Source§impl PartialEq for HandleOutcome
impl PartialEq for HandleOutcome
impl StructuralPartialEq for HandleOutcome
Auto Trait Implementations§
impl Freeze for HandleOutcome
impl RefUnwindSafe for HandleOutcome
impl Send for HandleOutcome
impl Sync for HandleOutcome
impl Unpin for HandleOutcome
impl UnsafeUnpin for HandleOutcome
impl UnwindSafe for HandleOutcome
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