pub struct JournalRecovery {
pub deleted: Vec<PriorRow>,
pub modified: Vec<PriorVersionRecord>,
pub counts: JournalCounts,
}Expand description
The result of recovering deletions + modifications from a rollback journal (design §5). Deleted rows are full-fidelity prior allocated rows (NOT free-space carves); modified rows carry the prior and current values.
Fields§
§deleted: Vec<PriorRow>Rows present in the prior snapshot but absent now — deleted by the last transaction, recovered at full fidelity.
modified: Vec<PriorVersionRecord>Rows present in both, values differ — prior (pre-edit) + current values.
counts: JournalCountsStructured counts (the NIST source-file report).
Trait Implementations§
Source§impl Clone for JournalRecovery
impl Clone for JournalRecovery
Source§fn clone(&self) -> JournalRecovery
fn clone(&self) -> JournalRecovery
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 JournalRecovery
impl Debug for JournalRecovery
Source§impl PartialEq for JournalRecovery
impl PartialEq for JournalRecovery
impl StructuralPartialEq for JournalRecovery
Auto Trait Implementations§
impl Freeze for JournalRecovery
impl RefUnwindSafe for JournalRecovery
impl Send for JournalRecovery
impl Sync for JournalRecovery
impl Unpin for JournalRecovery
impl UnsafeUnpin for JournalRecovery
impl UnwindSafe for JournalRecovery
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