pub enum VerifyStatus {
Match {
hash: String,
},
Mismatch {
expected: String,
actual: String,
diff: Vec<DiffLine>,
},
Error(String),
}Variants§
Match
Re-ran successfully and the hash matched the artifact.
Mismatch
Hash disagreed — artifact was tampered or the command is non-deterministic.
Error(String)
Could not parse the file or run the command. Reported but distinct from a real tamper finding.
Trait Implementations§
Source§impl Clone for VerifyStatus
impl Clone for VerifyStatus
Source§fn clone(&self) -> VerifyStatus
fn clone(&self) -> VerifyStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VerifyStatus
impl RefUnwindSafe for VerifyStatus
impl Send for VerifyStatus
impl Sync for VerifyStatus
impl Unpin for VerifyStatus
impl UnsafeUnpin for VerifyStatus
impl UnwindSafe for VerifyStatus
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