pub struct UpgradeError {
pub stage: UpgradeStage,
pub reason: UpgradeErrorReason,
}Expand description
Errors returned by upgrade_canister.
Fields§
§stage: UpgradeStage§reason: UpgradeErrorReasonTrait Implementations§
Source§impl Clone for UpgradeError
impl Clone for UpgradeError
Source§fn clone(&self) -> UpgradeError
fn clone(&self) -> UpgradeError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UpgradeError
impl RefUnwindSafe for UpgradeError
impl Send for UpgradeError
impl Sync for UpgradeError
impl Unpin for UpgradeError
impl UnsafeUnpin for UpgradeError
impl UnwindSafe for UpgradeError
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