pub struct StandaloneCanisterInstallError { /* private fields */ }Expand description
Failed standalone install retaining the caller-created PocketIC instance.
Implementations§
Source§impl StandaloneCanisterInstallError
impl StandaloneCanisterInstallError
Sourcepub fn pocket_ic(&self) -> &PocketIc
pub fn pocket_ic(&self) -> &PocketIc
Borrow the caller-created instance retained after the failed install.
Sourcepub const fn install_error(&self) -> &CanisterInstallError
pub const fn install_error(&self) -> &CanisterInstallError
Inspect the structured install failure.
Sourcepub fn into_parts(self) -> (PocketIc, CanisterInstallError)
pub fn into_parts(self) -> (PocketIc, CanisterInstallError)
Recover ownership of the instance and install failure.
Trait Implementations§
Source§impl Error for StandaloneCanisterInstallError
impl Error for StandaloneCanisterInstallError
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 StandaloneCanisterInstallError
impl !UnwindSafe for StandaloneCanisterInstallError
impl Freeze for StandaloneCanisterInstallError
impl Send for StandaloneCanisterInstallError
impl Sync for StandaloneCanisterInstallError
impl Unpin for StandaloneCanisterInstallError
impl UnsafeUnpin for StandaloneCanisterInstallError
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