pub enum Verdict {
NothingToCheck,
Intact,
Damaged {
detail: String,
},
}Expand description
What is known about the integrity of a file.
Variants§
NothingToCheck
This verifier has no supported checksum for the container. Repeating the same check gives no integrity evidence; other checks may exist.
Intact
Every checksum matched.
Damaged
At least one did not: the file has been damaged since it was written.
Implementations§
Trait Implementations§
impl Eq for Verdict
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnwindSafe for Verdict
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