pub enum IcSnapshotArtifactError {
OriginalMismatch,
IncompleteCoverage,
CustodyChanged,
UnexpectedEntry,
FileShape,
Integrity(DownloadIntegrityError),
Coverage(IcSnapshotDataCoverageError),
Checksum(ChecksumError),
Journal(DownloadJournalError),
Artifact(ArtifactError),
Io(Error),
}Expand description
Typed local artifact failures; no wire payload or raw snapshot identity is retained.
Variants§
OriginalMismatch
Original journal state, timestamp or raw metadata differs.
IncompleteCoverage
Complete declared data coverage has not been retained.
CustodyChanged
The original artifact parent or staging directory has been replaced.
UnexpectedEntry
The fixed closed artifact tree contains missing or additional entries.
FileShape
A retained direct child is not a regular file of the declared bounded size.
Integrity(DownloadIntegrityError)
Retained original plan, complete durable selection or journal admission failed.
Coverage(IcSnapshotDataCoverageError)
Exact metadata/range/chunk coverage admission failed.
Checksum(ChecksumError)
Local expected admitted bytes differ from the current tree.
Journal(DownloadJournalError)
Original download journal or durable publication failed.
Artifact(ArtifactError)
Descriptor-based artifact traversal failed.
Io(Error)
Private descriptor creation or byte IO failed.
Trait Implementations§
Source§impl Debug for IcSnapshotArtifactError
impl Debug for IcSnapshotArtifactError
Source§impl Display for IcSnapshotArtifactError
impl Display for IcSnapshotArtifactError
Source§impl Error for IcSnapshotArtifactError
impl Error for IcSnapshotArtifactError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()