pub async fn reinstall_with_self_binary(&mut self, payload: Vec<u8>) -> Result<(), String> {
        self.take_wasm()?
            .install(self.runtime)
            .with_mode(CanisterInstallMode::Reinstall)
            .install(self, payload)
            .await
    }
/// Runs the re-install process, with the new binary being identical to the
/// previous one.
///
///  payload: the argument to `canister_init`
Runs the re-install process, with the new binary being identical to the
previous one.

the argument to `canister_init`
Runs the re - install process with the new binary being identical to the previous one . the argument to ` canister_init `
pub async fn reinstall_with_self_binary(&mut self, payload: Vec<u8>) -> Result<(), String> {
        self.take_wasm()?
            .install(self.runtime)
            .with_mode(CanisterInstallMode::Reinstall)
            .install(self, payload)
            .await
    }
pub async fn reinstall_with_self_binary ( & mut self , payload : Vec < u8 > ) -> Result < ( ) , String > { self . take_wasm ( ) ? . install ( self . runtime ) . with_mode ( CanisterInstallMode :: Reinstall ) . install ( self , payload ) . await }
Runs the re-install process, with the new binary being identical to the
previous one.
Runs the re - install process with the new binary being identical to the previous one .
&mut self
payload
Vec<u8>
&mut self
payload
Vec<u8>