pub enum DownloadIntegrityError {
JournalChanged,
Journal(DownloadJournalError),
Plan(OperationPlanPersistenceError),
Policy(DownloadIntegrityPolicyError),
Persistence(PersistenceError),
Artifact(ArtifactError),
Checksum(ChecksumError),
}Expand description
Typed fresh local verification failure; original evidence remains retained.
Variants§
JournalChanged
Retained journal differs from the exact declaration held by its guard.
Journal(DownloadJournalError)
Guard/layout custody is unusable, replaced or unsafe.
Plan(OperationPlanPersistenceError)
Retained original plan cannot be admitted under its exact expected digest.
Policy(DownloadIntegrityPolicyError)
Original-plan selected-set or durable-checksum declaration mismatch.
Persistence(PersistenceError)
Bounded retained record admission failed.
Artifact(ArtifactError)
No-follow directory traversal or streaming failed.
Checksum(ChecksumError)
Current local bytes differ from the exact retained checksum.
Trait Implementations§
Source§impl Debug for DownloadIntegrityError
impl Debug for DownloadIntegrityError
Source§impl Display for DownloadIntegrityError
impl Display for DownloadIntegrityError
Source§impl Error for DownloadIntegrityError
impl Error for DownloadIntegrityError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ArtifactError> for DownloadIntegrityError
impl From<ArtifactError> for DownloadIntegrityError
Source§fn from(source: ArtifactError) -> Self
fn from(source: ArtifactError) -> Self
Converts to this type from the input type.
Source§impl From<ChecksumError> for DownloadIntegrityError
impl From<ChecksumError> for DownloadIntegrityError
Source§fn from(source: ChecksumError) -> Self
fn from(source: ChecksumError) -> Self
Converts to this type from the input type.
Source§impl From<DownloadIntegrityError> for IcSnapshotArtifactError
impl From<DownloadIntegrityError> for IcSnapshotArtifactError
Source§fn from(source: DownloadIntegrityError) -> Self
fn from(source: DownloadIntegrityError) -> Self
Converts to this type from the input type.
Source§impl From<DownloadIntegrityError> for LocalRestoreSourceError
impl From<DownloadIntegrityError> for LocalRestoreSourceError
Source§fn from(source: DownloadIntegrityError) -> Self
fn from(source: DownloadIntegrityError) -> Self
Converts to this type from the input type.
Source§impl From<DownloadIntegrityError> for DownloadManifestError
impl From<DownloadIntegrityError> for DownloadManifestError
Source§fn from(source: DownloadIntegrityError) -> Self
fn from(source: DownloadIntegrityError) -> Self
Converts to this type from the input type.
Source§impl From<DownloadIntegrityPolicyError> for DownloadIntegrityError
impl From<DownloadIntegrityPolicyError> for DownloadIntegrityError
Source§fn from(source: DownloadIntegrityPolicyError) -> Self
fn from(source: DownloadIntegrityPolicyError) -> Self
Converts to this type from the input type.
Source§impl From<DownloadJournalError> for DownloadIntegrityError
impl From<DownloadJournalError> for DownloadIntegrityError
Source§fn from(source: DownloadJournalError) -> Self
fn from(source: DownloadJournalError) -> Self
Converts to this type from the input type.
Source§impl From<OperationPlanPersistenceError> for DownloadIntegrityError
impl From<OperationPlanPersistenceError> for DownloadIntegrityError
Source§fn from(source: OperationPlanPersistenceError) -> Self
fn from(source: OperationPlanPersistenceError) -> Self
Converts to this type from the input type.
Source§impl From<PersistenceError> for DownloadIntegrityError
impl From<PersistenceError> for DownloadIntegrityError
Source§fn from(source: PersistenceError) -> Self
fn from(source: PersistenceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DownloadIntegrityError
impl !UnwindSafe for DownloadIntegrityError
impl Freeze for DownloadIntegrityError
impl Send for DownloadIntegrityError
impl Sync for DownloadIntegrityError
impl Unpin for DownloadIntegrityError
impl UnsafeUnpin for DownloadIntegrityError
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