pub struct RollbackConfig {
pub max_operation_log_size: usize,
pub enable_snapshots: bool,
pub snapshot_interval: usize,
pub max_snapshots: usize,
pub enable_auto_rollback: bool,
pub rollback_timeout_secs: u64,
pub enable_verification: bool,
pub rollback_strategy: RollbackStrategy,
}Expand description
Rollback system configuration
Fields§
§max_operation_log_size: usizeMaximum operations to keep in log
enable_snapshots: boolEnable state snapshots
snapshot_interval: usizeSnapshot interval (number of operations)
max_snapshots: usizeMaximum snapshots to retain
enable_auto_rollback: boolEnable automatic rollback on failures
rollback_timeout_secs: u64Rollback timeout in seconds
enable_verification: boolEnable rollback verification
rollback_strategy: RollbackStrategyRollback strategy
Trait Implementations§
Source§impl Clone for RollbackConfig
impl Clone for RollbackConfig
Source§fn clone(&self) -> RollbackConfig
fn clone(&self) -> RollbackConfig
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 RollbackConfig
impl Debug for RollbackConfig
Source§impl Default for RollbackConfig
impl Default for RollbackConfig
Source§impl<'de> Deserialize<'de> for RollbackConfig
impl<'de> Deserialize<'de> for RollbackConfig
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 RollbackConfig
impl RefUnwindSafe for RollbackConfig
impl Send for RollbackConfig
impl Sync for RollbackConfig
impl Unpin for RollbackConfig
impl UnwindSafe for RollbackConfig
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