pub struct CrashRecoveryConfig {
pub max_fix_attempts: u32,
pub state_file: String,
pub enabled: bool,
}Expand description
Crash recovery configuration.
Fields§
§max_fix_attempts: u32Maximum fix attempts before giving up.
state_file: StringPath to crash recovery state file.
enabled: boolWhether crash recovery is enabled.
Trait Implementations§
Source§impl Clone for CrashRecoveryConfig
impl Clone for CrashRecoveryConfig
Source§fn clone(&self) -> CrashRecoveryConfig
fn clone(&self) -> CrashRecoveryConfig
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 CrashRecoveryConfig
impl Debug for CrashRecoveryConfig
Source§impl Default for CrashRecoveryConfig
impl Default for CrashRecoveryConfig
Source§impl<'de> Deserialize<'de> for CrashRecoveryConfig
impl<'de> Deserialize<'de> for CrashRecoveryConfig
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 CrashRecoveryConfig
impl RefUnwindSafe for CrashRecoveryConfig
impl Send for CrashRecoveryConfig
impl Sync for CrashRecoveryConfig
impl Unpin for CrashRecoveryConfig
impl UnsafeUnpin for CrashRecoveryConfig
impl UnwindSafe for CrashRecoveryConfig
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