Struct ic_kit::interfaces::management::InstallCode
source · [−]pub struct InstallCode;Expand description
Installs the given WASM module on the canister.
Trait Implementations
sourceimpl Method for InstallCode
impl Method for InstallCode
const NAME: &'static str = "install_code"
type Arguments = (InstallCodeArgument,)
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 RefUnwindSafe for InstallCode
impl Send for InstallCode
impl Sync for InstallCode
impl Unpin for InstallCode
impl UnwindSafe for InstallCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more