pub enum RollbackStrategy {
None,
Compensate {
actions: Vec<String>,
},
RestoreCheckpoint {
checkpoint_id: String,
},
JumpToStage {
stage_id: StageId,
},
}Expand description
Rollback strategy for failed stages
Variants§
None
No rollback
Compensate
Execute compensating actions
RestoreCheckpoint
Restore from checkpoint
JumpToStage
Jump to a specific stage
Trait Implementations§
Source§impl Clone for RollbackStrategy
impl Clone for RollbackStrategy
Source§fn clone(&self) -> RollbackStrategy
fn clone(&self) -> RollbackStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RollbackStrategy
impl Debug for RollbackStrategy
Source§impl<'de> Deserialize<'de> for RollbackStrategy
impl<'de> Deserialize<'de> for RollbackStrategy
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
Auto Trait Implementations§
impl Freeze for RollbackStrategy
impl RefUnwindSafe for RollbackStrategy
impl Send for RollbackStrategy
impl Sync for RollbackStrategy
impl Unpin for RollbackStrategy
impl UnwindSafe for RollbackStrategy
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