pub struct RestoreReport {
pub restored: usize,
pub removed: usize,
pub fresh_lock: bool,
pub warnings: Vec<String>,
pub snapshot_sha256: BTreeMap<String, String>,
}Expand description
What a finished restore did.
Fields§
§restored: usizePaths put back from the snapshot.
removed: usizeFiles this run created that the restore removed.
fresh_lock: boolWhether the restore took a fresh scan-lock instead of reusing the held one.
warnings: Vec<String>Non-failing notes.
snapshot_sha256: BTreeMap<String, String>SHA-256 of each file copied into the run directory’s snapshot/,
keyed by its path below it.
Trait Implementations§
Source§impl Clone for RestoreReport
impl Clone for RestoreReport
Source§impl Debug for RestoreReport
impl Debug for RestoreReport
impl Eq for RestoreReport
Source§impl PartialEq for RestoreReport
impl PartialEq for RestoreReport
impl StructuralPartialEq for RestoreReport
Auto Trait Implementations§
impl Freeze for RestoreReport
impl RefUnwindSafe for RestoreReport
impl Send for RestoreReport
impl Sync for RestoreReport
impl Unpin for RestoreReport
impl UnsafeUnpin for RestoreReport
impl UnwindSafe for RestoreReport
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.