pub enum SnapshotError {
Show 13 variants
Io(Error),
Serialize(Error),
ArchiveGenerationFailure(ExitStatus),
StoragePathSymlinkInvalid,
UnpackError(UnpackError),
AccountsPackageSendError(AccountsPackageSendError),
IoWithSource(Error, &'static str),
PathToFileNameError(PathBuf),
FileNameToStrError(PathBuf),
ParseSnapshotArchiveFileNameError(String),
MismatchedBaseSlot(Slot, Slot),
NoSnapshotArchives,
MismatchedSlotHash((Slot, Hash), (Slot, Hash)),
}
Variants
Io(Error)
Serialize(Error)
ArchiveGenerationFailure(ExitStatus)
StoragePathSymlinkInvalid
UnpackError(UnpackError)
AccountsPackageSendError(AccountsPackageSendError)
IoWithSource(Error, &'static str)
PathToFileNameError(PathBuf)
FileNameToStrError(PathBuf)
ParseSnapshotArchiveFileNameError(String)
MismatchedBaseSlot(Slot, Slot)
NoSnapshotArchives
MismatchedSlotHash((Slot, Hash), (Slot, Hash))
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for SnapshotError
impl Send for SnapshotError
impl Sync for SnapshotError
impl Unpin for SnapshotError
impl !UnwindSafe for SnapshotError
Blanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more