pub enum RestorePlanError {
InvalidManifest(ManifestValidationError),
InvalidPrincipal {
field: &'static str,
value: String,
},
DuplicateMappingSource(String),
DuplicateMappingTarget(String),
UnknownMappingSource(String),
MissingMappingSource(String),
FixedIdentityRemap {
source_canister: String,
target_canister: String,
},
DuplicatePlanTarget(String),
RestoreOrderCycle(u16),
}Expand description
RestorePlanError
Variants§
InvalidManifest(ManifestValidationError)
InvalidPrincipal
DuplicateMappingSource(String)
DuplicateMappingTarget(String)
UnknownMappingSource(String)
MissingMappingSource(String)
FixedIdentityRemap
DuplicatePlanTarget(String)
RestoreOrderCycle(u16)
Trait Implementations§
Source§impl Debug for RestorePlanError
impl Debug for RestorePlanError
Source§impl Display for RestorePlanError
impl Display for RestorePlanError
Source§impl Error for RestorePlanError
impl Error for RestorePlanError
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<ManifestValidationError> for RestorePlanError
impl From<ManifestValidationError> for RestorePlanError
Source§fn from(source: ManifestValidationError) -> Self
fn from(source: ManifestValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RestorePlanError
impl RefUnwindSafe for RestorePlanError
impl Send for RestorePlanError
impl Sync for RestorePlanError
impl Unpin for RestorePlanError
impl UnsafeUnpin for RestorePlanError
impl UnwindSafe for RestorePlanError
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