pub struct RollbackChecked {
pub record: Option<RunRecord>,
pub live_changed: Vec<String>,
pub interrupted: Option<InterruptedRun>,
}Expand description
What the checks found: the record to restore from and the touched paths that changed since the run (empty unless discarding).
Fields§
§record: Option<RunRecord>The on-box record of the run: at state applied for a rollback, at
any state for the recovery of an interrupted run, and None only for
an interrupted run whose record was never written or is lost.
live_changed: Vec<String>Touched paths whose live hash is not the record’s post-run hash, byte-sorted. Only ever non-empty when the caller discards them.
interrupted: Option<InterruptedRun>Set when the run’s own journal is on the box: this is a recovery, not a rollback of a completed run.
Trait Implementations§
Source§impl Clone for RollbackChecked
impl Clone for RollbackChecked
Source§impl Debug for RollbackChecked
impl Debug for RollbackChecked
impl Eq for RollbackChecked
Source§impl PartialEq for RollbackChecked
impl PartialEq for RollbackChecked
impl StructuralPartialEq for RollbackChecked
Auto Trait Implementations§
impl Freeze for RollbackChecked
impl RefUnwindSafe for RollbackChecked
impl Send for RollbackChecked
impl Sync for RollbackChecked
impl Unpin for RollbackChecked
impl UnsafeUnpin for RollbackChecked
impl UnwindSafe for RollbackChecked
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.