pub enum DownloadJournalError {
IntentMismatch,
IndeterminateWrite,
UnsafeArtifactParent {
path: PathBuf,
},
Record(DownloadJournalRecordError),
Lock(JournalLockError),
Persistence(PersistenceError),
Artifact(ArtifactError),
Io(Error),
}Expand description
Typed local journal admission or durable lifecycle failure.
Variants§
IntentMismatch
The caller’s exact intent digest differs from retained evidence.
IndeterminateWrite
A publication may have completed; reopen and reconcile retained evidence.
UnsafeArtifactParent
The fixed artifact parent is not an existing regular directory.
Record(DownloadJournalRecordError)
Model identity, schema or transition admission failed.
Lock(JournalLockError)
Local journal or layout exclusion failed.
Persistence(PersistenceError)
Durable local record or artifact publication failed.
Artifact(ArtifactError)
Secure artifact traversal failed.
Io(Error)
Local fixture-independent filesystem access failed.
Trait Implementations§
Source§impl Debug for DownloadJournalError
impl Debug for DownloadJournalError
Source§impl Display for DownloadJournalError
impl Display for DownloadJournalError
Source§impl Error for DownloadJournalError
impl Error for DownloadJournalError
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 DownloadJournalError
impl From<ArtifactError> for DownloadJournalError
Source§fn from(source: ArtifactError) -> Self
fn from(source: ArtifactError) -> Self
Converts to this type from the input type.
Source§impl From<DownloadJournalError> for IcSnapshotArtifactError
impl From<DownloadJournalError> for IcSnapshotArtifactError
Source§fn from(source: DownloadJournalError) -> Self
fn from(source: DownloadJournalError) -> 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<DownloadJournalError> for DownloadManifestError
impl From<DownloadJournalError> for DownloadManifestError
Source§fn from(source: DownloadJournalError) -> Self
fn from(source: DownloadJournalError) -> Self
Converts to this type from the input type.
Source§impl From<DownloadJournalRecordError> for DownloadJournalError
impl From<DownloadJournalRecordError> for DownloadJournalError
Source§fn from(source: DownloadJournalRecordError) -> Self
fn from(source: DownloadJournalRecordError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for DownloadJournalError
impl From<Error> for DownloadJournalError
Source§impl From<JournalLockError> for DownloadJournalError
impl From<JournalLockError> for DownloadJournalError
Source§fn from(source: JournalLockError) -> Self
fn from(source: JournalLockError) -> Self
Converts to this type from the input type.
Source§impl From<PersistenceError> for DownloadJournalError
impl From<PersistenceError> for DownloadJournalError
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 DownloadJournalError
impl !UnwindSafe for DownloadJournalError
impl Freeze for DownloadJournalError
impl Send for DownloadJournalError
impl Sync for DownloadJournalError
impl Unpin for DownloadJournalError
impl UnsafeUnpin for DownloadJournalError
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