pub enum ArchiveError<SE, PE> {
Processing(Error),
Digest(DigestError<PE>),
Unsupported,
MalformedAlgorithm,
ForbiddenDigest {
at: u64,
},
UnmatchedIndex,
AlgorithmMismatch,
Content(PassError<SE, PE>),
MissingDigest,
}Expand description
Actual ATSv3 preflight/content refusal, distinct from absent proof.
Variants§
Processing(Error)
Original source/schema/encoding/resource refusal.
Digest(DigestError<PE>)
Original archive-index digest/refusal/output-contract cause.
Unsupported
An index or imprint mechanism could not be resolved.
MalformedAlgorithm
An index or imprint identifier violates its algorithm’s schema.
ForbiddenDigest
Actual MD5 use is forbidden by the baseline format before index hashing.
UnmatchedIndex
An index hash has no original root value to which it refers.
AlgorithmMismatch
The index and timestamp imprint do not use the same digest mechanism.
Content(PassError<SE, PE>)
Original content pass failed without a complete digest.
MissingDigest
Private prepared mapping did not produce its sole completed request.
Trait Implementations§
Auto Trait Implementations§
impl<SE, PE> !Freeze for ArchiveError<SE, PE>
impl<SE, PE> Forget for ArchiveError<SE, PE>
impl<SE, PE> RefUnwindSafe for ArchiveError<SE, PE>
impl<SE, PE> Send for ArchiveError<SE, PE>
impl<SE, PE> Sync for ArchiveError<SE, PE>
impl<SE, PE> Unpin for ArchiveError<SE, PE>
impl<SE, PE> UnsafeUnpin for ArchiveError<SE, PE>
impl<SE, PE> UnwindSafe for ArchiveError<SE, PE>
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