pub async fn status(&self) -> Option<(bool, Option<i32>)> {
        self.status.read().await.as_ref().map(|x| match x {
            Ok((success, exit_code)) => (*success, *exit_code),
            Err(_) => (false, None),
        })
    }
/// Checks if the process has completed, returning the exit status if it has, without
/// consuming the process itself. Note that this does not include join errors that can
/// occur when aborting and instead converts any error to a status of false. To acquire
/// the actual error, you must call `wait`
Checks if the process has completed, returning the exit status if it has, without
consuming the process itself. Note that this does not include join errors that can
occur when aborting and instead converts any error to a status of false. To acquire
the actual error, you must call `wait`
Checks if the process has completed returning the exit status if it has without consuming the process itself . Note that this does not include join errors that can occur when aborting and instead converts any error to a status of false . To acquire the actual error you must call ` wait `
pub async fn status(&self) -> Option<(bool, Option<i32>)> {
        self.status.read().await.as_ref().map(|x| match x {
            Ok((success, exit_code)) => (*success, *exit_code),
            Err(_) => (false, None),
        })
    }
pub async fn status ( & self ) -> Option < ( bool , Option < i32 > ) > { self . status . read ( ) . await . as_ref ( ) . map ( | x | match x { Ok ( ( success , exit_code ) ) => ( * success , * exit_code ) , Err ( _ ) => ( false , None ) , } ) }
Checks if the process has completed, returning the exit status if it has, without
consuming the process itself.
Checks if the process has completed returning the exit status if it has without consuming the process itself .
&self