pub enum SnapshotDownloadError {
MissingRegistrySource,
Driver(SnapshotDriverError),
Io(Error),
Checksum(ArtifactChecksumError),
Persistence(PersistenceError),
Journal(JournalValidationError),
Discovery(DiscoveryError),
Manifest(SnapshotManifestError),
}Expand description
SnapshotDownloadError
Variants§
MissingRegistrySource
Driver(SnapshotDriverError)
Io(Error)
Checksum(ArtifactChecksumError)
Persistence(PersistenceError)
Journal(JournalValidationError)
Discovery(DiscoveryError)
Manifest(SnapshotManifestError)
Trait Implementations§
Source§impl Debug for SnapshotDownloadError
impl Debug for SnapshotDownloadError
Source§impl Display for SnapshotDownloadError
impl Display for SnapshotDownloadError
Source§impl Error for SnapshotDownloadError
impl Error for SnapshotDownloadError
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<ArtifactChecksumError> for SnapshotDownloadError
impl From<ArtifactChecksumError> for SnapshotDownloadError
Source§fn from(source: ArtifactChecksumError) -> Self
fn from(source: ArtifactChecksumError) -> Self
Converts to this type from the input type.
Source§impl From<DiscoveryError> for SnapshotDownloadError
impl From<DiscoveryError> for SnapshotDownloadError
Source§fn from(source: DiscoveryError) -> Self
fn from(source: DiscoveryError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for SnapshotDownloadError
impl From<Error> for SnapshotDownloadError
Source§impl From<JournalValidationError> for SnapshotDownloadError
impl From<JournalValidationError> for SnapshotDownloadError
Source§fn from(source: JournalValidationError) -> Self
fn from(source: JournalValidationError) -> Self
Converts to this type from the input type.
Source§impl From<PersistenceError> for SnapshotDownloadError
impl From<PersistenceError> for SnapshotDownloadError
Source§fn from(source: PersistenceError) -> Self
fn from(source: PersistenceError) -> Self
Converts to this type from the input type.
Source§impl From<SnapshotManifestError> for SnapshotDownloadError
impl From<SnapshotManifestError> for SnapshotDownloadError
Source§fn from(source: SnapshotManifestError) -> Self
fn from(source: SnapshotManifestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SnapshotDownloadError
impl !RefUnwindSafe for SnapshotDownloadError
impl Send for SnapshotDownloadError
impl Sync for SnapshotDownloadError
impl Unpin for SnapshotDownloadError
impl UnsafeUnpin for SnapshotDownloadError
impl !UnwindSafe for SnapshotDownloadError
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