Struct ReplayConfig
pub struct ReplayConfig {
pub checkpoint: Option<CheckpointData>,
pub strict: bool,
pub verify_hash_chain: bool,
}Expand description
Configuration for a replay run.
Fields§
§checkpoint: Option<CheckpointData>If set, skip events up to (and including) this checkpoint and restore state from it instead of replaying from scratch.
strict: boolWhen true (default), halt replay on the first reducer error.
When false, log and continue.
verify_hash_chain: boolWhen true (default), verify the blake3 hash chain before replaying.
Requires replay_from_journal() (file-based replay). Iterator-based
replay() returns HashChainVerificationRequiresFileReplay when enabled.
Trait Implementations§
§impl Clone for ReplayConfig
impl Clone for ReplayConfig
§fn clone(&self) -> ReplayConfig
fn clone(&self) -> ReplayConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ReplayConfig
impl Debug for ReplayConfig
Auto Trait Implementations§
impl Freeze for ReplayConfig
impl RefUnwindSafe for ReplayConfig
impl Send for ReplayConfig
impl Sync for ReplayConfig
impl Unpin for ReplayConfig
impl UnsafeUnpin for ReplayConfig
impl UnwindSafe for ReplayConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)