pub enum BranchOp {
Action,
Compensate,
Try,
Confirm,
Cancel,
Commit,
Rollback,
}Expand description
分支操作类型。跟 DTM 的字符串保持一致,方便客户端互通。
Variants§
Implementations§
Trait Implementations§
impl Copy for BranchOp
Source§impl<'de> Deserialize<'de> for BranchOp
impl<'de> Deserialize<'de> for BranchOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BranchOp
impl StructuralPartialEq for BranchOp
Auto Trait Implementations§
impl Freeze for BranchOp
impl RefUnwindSafe for BranchOp
impl Send for BranchOp
impl Sync for BranchOp
impl Unpin for BranchOp
impl UnsafeUnpin for BranchOp
impl UnwindSafe for BranchOp
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