pub struct RestoreResult {
pub replayed_frames: u64,
pub skipped_frames: u64,
pub final_seq: u64,
pub phases: Vec<PhaseStat>,
}Expand description
Telemetry returned by a successful restore_snapshot({ mode: "diff" })
call. Every field is observable so tests + dry-run audit paths can pin
replay invariants (CLAUDE.md dry-run equivalence rule).
Fields§
§replayed_frames: u64Total frames applied across all phases.
skipped_frames: u64Frames dropped due to a tail torn-write under on_torn_write: "skip".
final_seq: u64Highest frame_seq applied (zero if no frames replayed).
phases: Vec<PhaseStat>Per-lifecycle phase breakdown in cross-scope replay order.
Trait Implementations§
Source§impl Clone for RestoreResult
impl Clone for RestoreResult
Source§fn clone(&self) -> RestoreResult
fn clone(&self) -> RestoreResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RestoreResult
impl Debug for RestoreResult
Source§impl PartialEq for RestoreResult
impl PartialEq for RestoreResult
Source§fn eq(&self, other: &RestoreResult) -> bool
fn eq(&self, other: &RestoreResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RestoreResult
impl Serialize for RestoreResult
impl Eq for RestoreResult
impl StructuralPartialEq for RestoreResult
Auto Trait Implementations§
impl Freeze for RestoreResult
impl RefUnwindSafe for RestoreResult
impl Send for RestoreResult
impl Sync for RestoreResult
impl Unpin for RestoreResult
impl UnsafeUnpin for RestoreResult
impl UnwindSafe for RestoreResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.