pub struct CheckpointConfig {
pub enabled: bool,
pub frequency: CheckpointFrequency,
pub max_checkpoints: usize,
pub auto_checkpoint_threshold_ms: Option<u64>,
pub compress: bool,
}Expand description
Configuration for checkpoint frequency and behavior
Fields§
§enabled: boolEnable automatic checkpointing
frequency: CheckpointFrequencyCheckpoint frequency strategy
max_checkpoints: usizeMaximum number of checkpoints to retain per execution
auto_checkpoint_threshold_ms: Option<u64>Automatically checkpoint after long-running nodes (threshold in ms)
compress: boolCompress checkpoint data
Trait Implementations§
Source§impl Clone for CheckpointConfig
impl Clone for CheckpointConfig
Source§fn clone(&self) -> CheckpointConfig
fn clone(&self) -> CheckpointConfig
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 CheckpointConfig
impl Debug for CheckpointConfig
Source§impl Default for CheckpointConfig
impl Default for CheckpointConfig
Source§impl<'de> Deserialize<'de> for CheckpointConfig
impl<'de> Deserialize<'de> for CheckpointConfig
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 CheckpointConfig
impl RefUnwindSafe for CheckpointConfig
impl Send for CheckpointConfig
impl Sync for CheckpointConfig
impl Unpin for CheckpointConfig
impl UnwindSafe for CheckpointConfig
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