pub async fn install_onto_canister(
        self,
        mut canister: &mut Canister<'_>,
        canister_init_payload: Option<Vec<u8>>,
    ) -> Result<(), String> {
        self.install(canister.runtime)
            .install(&mut canister, canister_init_payload.unwrap_or_default())
            .await
    }
/// Installs this wasm onto a pre-existing canister.
Installs this wasm onto a pre-existing canister.
Installs this wasm onto a pre - existing canister .
pub async fn install_onto_canister(
        self,
        mut canister: &mut Canister<'_>,
        canister_init_payload: Option<Vec<u8>>,
    ) -> Result<(), String> {
        self.install(canister.runtime)
            .install(&mut canister, canister_init_payload.unwrap_or_default())
            .await
    }
pub async fn install_onto_canister ( self , mut canister : & mut Canister < ' _ > , canister_init_payload : Option < Vec < u8 > > , ) -> Result < ( ) , String > { self . install ( canister . runtime ) . install ( & mut canister , canister_init_payload . unwrap_or_default ( ) ) . await }
Installs this wasm onto a pre-existing canister.
Installs this wasm onto a pre - existing canister .
self
canister
&mut Canister<'_>
canister_init_payload
Option<Vec<u8>>
self
canister
&mut Canister<'_>
canister_init_payload
Option<Vec<u8>>