pub enum RestoreApplyDryRunError {
StatusPlanMismatch {
field: &'static str,
plan: String,
status: String,
},
StatusPlanCountMismatch {
field: &'static str,
plan: usize,
status: usize,
},
ArtifactPathEscapesBackup {
source_canister: String,
artifact_path: String,
},
ArtifactMissing {
source_canister: String,
artifact_path: String,
resolved_path: String,
},
ArtifactChecksum {
source_canister: String,
artifact_path: String,
source: ArtifactChecksumError,
},
}Expand description
RestoreApplyDryRunError
Variants§
StatusPlanMismatch
StatusPlanCountMismatch
ArtifactPathEscapesBackup
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()
Auto Trait Implementations§
impl Freeze for RestoreApplyDryRunError
impl !RefUnwindSafe for RestoreApplyDryRunError
impl Send for RestoreApplyDryRunError
impl Sync for RestoreApplyDryRunError
impl Unpin for RestoreApplyDryRunError
impl UnsafeUnpin for RestoreApplyDryRunError
impl !UnwindSafe 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