pub enum ContextCheckpointing {
AfterEveryState,
Custom(String),
}Expand description
Run-level context checkpointing policy.
Default is AfterEveryState to keep resume semantics simple (no replay required on resume).
Variants§
AfterEveryState
Persist a fresh context snapshot after every state transition.
Custom(String)
Reserved for future: periodic/tag-based checkpointing policies.
Trait Implementations§
Source§impl Clone for ContextCheckpointing
impl Clone for ContextCheckpointing
Source§fn clone(&self) -> ContextCheckpointing
fn clone(&self) -> ContextCheckpointing
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 ContextCheckpointing
impl Debug for ContextCheckpointing
Source§impl<'de> Deserialize<'de> for ContextCheckpointing
impl<'de> Deserialize<'de> for ContextCheckpointing
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
Source§impl PartialEq for ContextCheckpointing
impl PartialEq for ContextCheckpointing
Source§impl Serialize for ContextCheckpointing
impl Serialize for ContextCheckpointing
impl Eq for ContextCheckpointing
impl StructuralPartialEq for ContextCheckpointing
Auto Trait Implementations§
impl Freeze for ContextCheckpointing
impl RefUnwindSafe for ContextCheckpointing
impl Send for ContextCheckpointing
impl Sync for ContextCheckpointing
impl Unpin for ContextCheckpointing
impl UnsafeUnpin for ContextCheckpointing
impl UnwindSafe for ContextCheckpointing
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