pub struct AuditVerification {
pub verified: bool,
pub mismatches: Vec<String>,
pub missing: Vec<String>,
pub unaccounted: Vec<String>,
}Expand description
Outcome of verifying a pack against the current session contents.
Fields§
§verified: boolTrue when every listed file matches its digest and none are missing.
mismatches: Vec<String>Files whose current digest differs from the pack.
missing: Vec<String>Files listed in the pack that no longer exist.
unaccounted: Vec<String>Files present in the session directory that the pack does not describe (informational: created after the pack, or excluded on purpose).
Trait Implementations§
Source§impl Clone for AuditVerification
impl Clone for AuditVerification
Source§impl Debug for AuditVerification
impl Debug for AuditVerification
impl Eq for AuditVerification
Source§impl PartialEq for AuditVerification
impl PartialEq for AuditVerification
Source§impl Serialize for AuditVerification
impl Serialize for AuditVerification
impl StructuralPartialEq for AuditVerification
Auto Trait Implementations§
impl Freeze for AuditVerification
impl RefUnwindSafe for AuditVerification
impl Send for AuditVerification
impl Sync for AuditVerification
impl Unpin for AuditVerification
impl UnsafeUnpin for AuditVerification
impl UnwindSafe for AuditVerification
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.