pub enum DownloadManifestError {
DigestMismatch,
JournalChanged,
Integrity(DownloadIntegrityError),
Journal(DownloadJournalError),
Lock(JournalLockError),
Persistence(PersistenceError),
}Expand description
Typed immutable local declaration publication/replay failure.
Variants§
DigestMismatch
The supplied exact manifest fingerprint differs from retained evidence.
JournalChanged
Immutable manifest and original retained journal no longer agree.
Integrity(DownloadIntegrityError)
Original-plan, selected-set or fresh local byte verification failed.
Journal(DownloadJournalError)
Original journal/layout admission failed.
Lock(JournalLockError)
Manifest exclusion failed.
Persistence(PersistenceError)
Bounded records or immutable durable publication failed.
Trait Implementations§
Source§impl Debug for DownloadManifestError
impl Debug for DownloadManifestError
Source§impl Display for DownloadManifestError
impl Display for DownloadManifestError
Source§impl Error for DownloadManifestError
impl Error for DownloadManifestError
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<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<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<DownloadManifestError> for LocalRestoreSourceError
impl From<DownloadManifestError> for LocalRestoreSourceError
Source§fn from(source: DownloadManifestError) -> Self
fn from(source: DownloadManifestError) -> Self
Converts to this type from the input type.
Source§impl From<JournalLockError> for DownloadManifestError
impl From<JournalLockError> for DownloadManifestError
Source§fn from(source: JournalLockError) -> Self
fn from(source: JournalLockError) -> Self
Converts to this type from the input type.
Source§impl From<PersistenceError> for DownloadManifestError
impl From<PersistenceError> for DownloadManifestError
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 DownloadManifestError
impl !UnwindSafe for DownloadManifestError
impl Freeze for DownloadManifestError
impl Send for DownloadManifestError
impl Sync for DownloadManifestError
impl Unpin for DownloadManifestError
impl UnsafeUnpin for DownloadManifestError
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