pub async fn install_canister(&self, install_args: InstallCodeArgs) -> Result<(), String> {
        self.execute_update_with_deadline(
            &IC_00,
            Method::InstallCode,
            install_args.encode(),
            vec![],
            std::time::Instant::now() + self.install_timeout,
        )
        .await
        .map(|_| ())
    }
// Ships a binary wasm module to a canister.
Ships a binary wasm module to a canister.
Ships a binary wasm module to a canister .
pub async fn install_canister(&self, install_args: InstallCodeArgs) -> Result<(), String> {
        self.execute_update_with_deadline(
            &IC_00,
            Method::InstallCode,
            install_args.encode(),
            vec![],
            std::time::Instant::now() + self.install_timeout,
        )
        .await
        .map(|_| ())
    }
pub async fn install_canister ( & self , install_args : InstallCodeArgs ) -> Result < ( ) , String > { self . execute_update_with_deadline ( & IC_00 , Method :: InstallCode , install_args . encode ( ) , vec ! [ ] , std :: time :: Instant :: now ( ) + self . install_timeout , ) . await . map ( | _ | ( ) ) }
Ships a binary wasm module to a canister.
Ships a binary wasm module to a canister .
&self
install_args
InstallCodeArgs
&self
install_args
InstallCodeArgs