pub enum InstallRootModuleVerificationError {
Missing,
Invalid {
observed: String,
},
Mismatch {
expected: String,
observed: String,
},
}Expand description
Typed failure while proving the module installed on the root Canister.
Variants§
Missing
ICP status returned no installed module identity.
Invalid
ICP status returned a value that is not one 32-byte hexadecimal digest.
Mismatch
The installed module identity differs from the exact Wasm supplied to ICP.
Trait Implementations§
Source§impl Error for InstallRootModuleVerificationError
impl Error for InstallRootModuleVerificationError
1.30.0 · 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 InstallRootModuleVerificationError
impl RefUnwindSafe for InstallRootModuleVerificationError
impl Send for InstallRootModuleVerificationError
impl Sync for InstallRootModuleVerificationError
impl Unpin for InstallRootModuleVerificationError
impl UnsafeUnpin for InstallRootModuleVerificationError
impl UnwindSafe for InstallRootModuleVerificationError
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