#[non_exhaustive]pub enum IntegrityFindingKind {
Show 13 variants
InvalidStructure,
InvalidSignature,
UnsupportedFeature,
PasswordRequired,
DecryptionFailed,
ChunkUnreadable,
RedundantTableMismatch,
TableCheckUnavailable,
MissingStoredHashes,
AcquisitionErrors,
IncompleteAcquisition,
LenientOpen,
HashMismatch {
algorithm: HashAlgorithm,
reference: HashReference,
},
}Expand description
Stable categories for findings; diagnostic text is not a machine interface.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidStructure
Opening rejected malformed image structure.
InvalidSignature
Input signature was not recognized.
UnsupportedFeature
A required feature is unavailable.
PasswordRequired
Encrypted input needs a password.
DecryptionFailed
Supplied password was rejected or decrypted content failed validation.
ChunkUnreadable
A logical chunk could not be read and validated.
RedundantTableMismatch
Matching primary and redundant chunk tables contain different entries.
Redundant-table checking could not complete.
MissingStoredHashes
No supported embedded media hash was found.
AcquisitionErrors
Acquisition recorded unreadable source sectors.
IncompleteAcquisition
Acquisition lacks its completed terminal marker.
LenientOpen
The caller opened using lenient structural validation.
HashMismatch
One complete media digest differs from its reference.
Trait Implementations§
Source§impl Clone for IntegrityFindingKind
impl Clone for IntegrityFindingKind
Source§impl Debug for IntegrityFindingKind
impl Debug for IntegrityFindingKind
impl Eq for IntegrityFindingKind
Source§impl PartialEq for IntegrityFindingKind
impl PartialEq for IntegrityFindingKind
Source§impl Serialize for IntegrityFindingKind
impl Serialize for IntegrityFindingKind
impl StructuralPartialEq for IntegrityFindingKind
Auto Trait Implementations§
impl Freeze for IntegrityFindingKind
impl RefUnwindSafe for IntegrityFindingKind
impl Send for IntegrityFindingKind
impl Sync for IntegrityFindingKind
impl Unpin for IntegrityFindingKind
impl UnsafeUnpin for IntegrityFindingKind
impl UnwindSafe for IntegrityFindingKind
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more