pub struct VerifyFailure {
pub key: ArtifactKey,
pub expected: String,
pub actual: Option<String>,
pub reason: String,
}Expand description
A key whose blob no longer agrees with its index entry.
Fields§
§key: ArtifactKey§expected: StringThe digest the index records.
actual: Option<String>The digest the blob hashes to now; None when it is missing.
reason: StringWhy this is a failure, in words: a missing blob, a digest mismatch, or a size that disagrees with the sidecar.
Trait Implementations§
Source§impl Clone for VerifyFailure
impl Clone for VerifyFailure
Source§impl Debug for VerifyFailure
impl Debug for VerifyFailure
Source§impl Display for VerifyFailure
impl Display for VerifyFailure
impl Eq for VerifyFailure
Source§impl PartialEq for VerifyFailure
impl PartialEq for VerifyFailure
impl StructuralPartialEq for VerifyFailure
Auto Trait Implementations§
impl Freeze for VerifyFailure
impl RefUnwindSafe for VerifyFailure
impl Send for VerifyFailure
impl Sync for VerifyFailure
impl Unpin for VerifyFailure
impl UnsafeUnpin for VerifyFailure
impl UnwindSafe for VerifyFailure
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.