pub struct FileComparison {
pub checked: usize,
pub differing: Vec<String>,
pub missing: Vec<String>,
pub unexpected: Vec<String>,
pub unreadable: Vec<(String, String)>,
pub unreadable_unchecked: Vec<(String, String)>,
}Expand description
How the backup’s files compare with the master’s live files.
Fields§
§checked: usizeRendered paths compared.
differing: Vec<String>Paths whose bytes differ, byte-sorted.
missing: Vec<String>Rendered paths the backup does not have, byte-sorted.
unexpected: Vec<String>Paths an apply deleted that the backup still has, byte-sorted.
unreadable: Vec<(String, String)>Rendered or deleted units a node could not read (quick-261029-ms3),
as (node, unit key), sorted. Their paths are in no other list: the
copy is unknown, so it is neither equal nor absent. Each fails the
check.
unreadable_unchecked: Vec<(String, String)>Units a node could not read that are neither rendered nor deleted,
as (node, unit key), sorted: not compared, a warning only.
Trait Implementations§
Source§impl Clone for FileComparison
impl Clone for FileComparison
Source§impl Debug for FileComparison
impl Debug for FileComparison
Source§impl Default for FileComparison
impl Default for FileComparison
impl Eq for FileComparison
Source§impl PartialEq for FileComparison
impl PartialEq for FileComparison
impl StructuralPartialEq for FileComparison
Auto Trait Implementations§
impl Freeze for FileComparison
impl RefUnwindSafe for FileComparison
impl Send for FileComparison
impl Sync for FileComparison
impl Unpin for FileComparison
impl UnsafeUnpin for FileComparison
impl UnwindSafe for FileComparison
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.