fn read_to_end(&mut self) -> CommandError {
        match *self {
            StderrReader::Async(ref mut handle) => {
                let handle = handle
                    .take()
                    .expect("read_to_end cannot be called more than once");
                handle
                    .join()
                    .expect("stderr reading thread does not panic")
            }
            StderrReader::Sync(ref mut stderr) => {
                stderr_to_command_error(stderr)
            }
        }
    }
/// Consumes all of stderr on to the heap and returns it as an error.
///
/// If there was a problem reading stderr itself, then this returns an I/O
/// command error.
Consumes all of stderr on to the heap and returns it as an error.
If there was a problem reading stderr itself, then this returns an I/O
command error.
Consumes all of stderr on to the heap and returns it as an error . If there was a problem reading stderr itself then this returns an I / O command error .
fn read_to_end(&mut self) -> CommandError {
        match *self {
            StderrReader::Async(ref mut handle) => {
                let handle = handle
                    .take()
                    .expect("read_to_end cannot be called more than once");
                handle
                    .join()
                    .expect("stderr reading thread does not panic")
            }
            StderrReader::Sync(ref mut stderr) => {
                stderr_to_command_error(stderr)
            }
        }
    }
fn read_to_end ( & mut self ) -> CommandError { match * self { StderrReader :: Async ( ref mut handle ) => { let handle = handle . take ( ) . expect ( " " ) ; handle . join ( ) . expect ( " " ) } StderrReader :: Sync ( ref mut stderr ) => { stderr_to_command_error ( stderr ) } } }
Consumes all of stderr on to the heap and returns it as an error.
Consumes all of stderr on to the heap and returns it as an error .
&mut self
&mut self