pub enum RollbackStrategy {
LastKnownGood,
SpecificSnapshot,
Selective,
Complete,
Custom(String),
}Expand description
Rollback strategies
Variants§
LastKnownGood
Roll back to last known good state
SpecificSnapshot
Roll back to specific snapshot
Selective
Selective rollback of failed operations
Complete
Complete system rollback
Custom(String)
Custom rollback logic
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