pub enum RestoreApplyDryRunError {
InvalidPlan(RestorePlanError),
ArtifactPathEscapesBackup {
source_canister: String,
artifact_path: String,
},
ArtifactRootIo {
backup_root: PathBuf,
source: Error,
},
ArtifactRootUnsafe {
backup_root: PathBuf,
},
ArtifactUnsafeType {
source_canister: String,
artifact_path: String,
kind: String,
},
ArtifactMissing {
source_canister: String,
artifact_path: String,
resolved_path: String,
},
ArtifactChecksum {
source_canister: String,
artifact_path: String,
source: ArtifactChecksumError,
},
}Expand description
RestoreApplyDryRunError
Variants§
InvalidPlan(RestorePlanError)
ArtifactPathEscapesBackup
ArtifactRootIo
ArtifactRootUnsafe
ArtifactUnsafeType
ArtifactMissing
ArtifactChecksum
Trait Implementations§
Source§impl Debug for RestoreApplyDryRunError
impl Debug for RestoreApplyDryRunError
Source§impl Display for RestoreApplyDryRunError
impl Display for RestoreApplyDryRunError
Source§impl Error for RestoreApplyDryRunError
impl Error for RestoreApplyDryRunError
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<RestorePlanError> for RestoreApplyDryRunError
impl From<RestorePlanError> for RestoreApplyDryRunError
Source§fn from(source: RestorePlanError) -> Self
fn from(source: RestorePlanError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RestoreApplyDryRunError
impl !UnwindSafe for RestoreApplyDryRunError
impl Freeze for RestoreApplyDryRunError
impl Send for RestoreApplyDryRunError
impl Sync for RestoreApplyDryRunError
impl Unpin for RestoreApplyDryRunError
impl UnsafeUnpin for RestoreApplyDryRunError
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