pub enum ChecksumFailureKind {
Missing,
Mismatch {
actual: String,
},
}Expand description
Reason a file failed checksum verification.
Variants§
Missing
The file was not present at the expected path.
Mismatch
The file was present but its checksum did not match.
Trait Implementations§
Source§impl Clone for ChecksumFailureKind
impl Clone for ChecksumFailureKind
Source§fn clone(&self) -> ChecksumFailureKind
fn clone(&self) -> ChecksumFailureKind
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 moreSource§impl Debug for ChecksumFailureKind
impl Debug for ChecksumFailureKind
impl Eq for ChecksumFailureKind
Source§impl Hash for ChecksumFailureKind
impl Hash for ChecksumFailureKind
Source§impl PartialEq for ChecksumFailureKind
impl PartialEq for ChecksumFailureKind
Source§fn eq(&self, other: &ChecksumFailureKind) -> bool
fn eq(&self, other: &ChecksumFailureKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChecksumFailureKind
Auto Trait Implementations§
impl Freeze for ChecksumFailureKind
impl RefUnwindSafe for ChecksumFailureKind
impl Send for ChecksumFailureKind
impl Sync for ChecksumFailureKind
impl Unpin for ChecksumFailureKind
impl UnsafeUnpin for ChecksumFailureKind
impl UnwindSafe for ChecksumFailureKind
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.