pub async fn kill(&mut self) -> Result<(), RemoteProcessError> {
        self.kill
            .send(())
            .await
            .map_err(|_| RemoteProcessError::ChannelDead)?;
        Ok(())
    }
/// Submits a kill request for the running process
Submits a kill request for the running process
Submits a kill request for the running process
pub async fn kill(&mut self) -> Result<(), RemoteProcessError> {
        self.kill
            .send(())
            .await
            .map_err(|_| RemoteProcessError::ChannelDead)?;
        Ok(())
    }
pub async fn kill ( & mut self ) -> Result < ( ) , RemoteProcessError > { self . kill . send ( ( ) ) . await . map_err ( | _ | RemoteProcessError :: ChannelDead ) ? ; Ok ( ( ) ) }
Submits a kill request for the running process
Submits a kill request for the running process
&mut self