pub enum InstallationStatusError {
Json(Error),
MissingModuleHash,
InvalidModuleHash,
}Expand description
Status JSON does not establish an installed or uninstalled canister.
Variants§
Json(Error)
The complete input is not valid JSON.
MissingModuleHash
Successful status output did not include the installation fact.
InvalidModuleHash
The installation fact is neither null nor a string.
Trait Implementations§
Source§impl Debug for InstallationStatusError
impl Debug for InstallationStatusError
Source§impl Display for InstallationStatusError
impl Display for InstallationStatusError
Source§impl Error for InstallationStatusError
impl Error for InstallationStatusError
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 !RefUnwindSafe for InstallationStatusError
impl !UnwindSafe for InstallationStatusError
impl Freeze for InstallationStatusError
impl Send for InstallationStatusError
impl Sync for InstallationStatusError
impl Unpin for InstallationStatusError
impl UnsafeUnpin for InstallationStatusError
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