pub struct UninstallCode;Expand description
Uninstall the code for the given canister.
Trait Implementations§
Source§impl Method for UninstallCode
impl Method for UninstallCode
const NAME: &'static str = "uninstall_code"
type Arguments = (WithCanisterId,)
type Response = ()
fn perform(id: Principal, args: Self::Arguments) -> CallResponse<Self::Response>
fn perform_with_payment( id: Principal, args: Self::Arguments, cycles: u64, ) -> CallResponse<Self::Response>
Auto Trait Implementations§
impl Freeze for UninstallCode
impl RefUnwindSafe for UninstallCode
impl Send for UninstallCode
impl Sync for UninstallCode
impl Unpin for UninstallCode
impl UnsafeUnpin for UninstallCode
impl UnwindSafe for UninstallCode
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