#[non_exhaustive]pub enum IntegrityStatus {
Pass,
Fail,
Incomplete,
Skipped,
}Expand description
Result of the payload integrity check.
#[non_exhaustive] so a future outcome is not a breaking change for
downstream matches.
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.
Pass
Every payload byte was decoded without error. For formats with payload checksums this includes the checksum; plain TAR, 7z entries without CRC and zstd frames without a content checksum carry none.
Fail
A checksum or decoder error proved the payload corrupt.
Incomplete
The check ran but some payload was not verified (budget, resource limit, solid policy, missing end marker).
Skipped
The check was not requested.
Implementations§
Trait Implementations§
Source§impl Clone for IntegrityStatus
impl Clone for IntegrityStatus
impl Copy for IntegrityStatus
Source§impl Debug for IntegrityStatus
impl Debug for IntegrityStatus
Source§impl Display for IntegrityStatus
impl Display for IntegrityStatus
impl Eq for IntegrityStatus
Source§impl PartialEq for IntegrityStatus
impl PartialEq for IntegrityStatus
impl StructuralPartialEq for IntegrityStatus
Auto Trait Implementations§
impl Freeze for IntegrityStatus
impl RefUnwindSafe for IntegrityStatus
impl Send for IntegrityStatus
impl Sync for IntegrityStatus
impl Unpin for IntegrityStatus
impl UnsafeUnpin for IntegrityStatus
impl UnwindSafe for IntegrityStatus
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.