pub fn try_read(&mut self) -> io::Result<Option<Vec<u8>>> {
        match self.0.try_recv() {
            Ok(data) => Ok(Some(data)),
            Err(TryRecvError::Empty) => Ok(None),
            Err(TryRecvError::Disconnected) => Err(io::Error::from(io::ErrorKind::BrokenPipe)),
        }
    }
/// Tries to receive latest stdout for a remote process, yielding `None`
/// if no stdout is available, and `BrokenPipe` if stdout has been closed
Tries to receive latest stdout for a remote process, yielding `None`
if no stdout is available, and `BrokenPipe` if stdout has been closed
Tries to receive latest stdout for a remote process yielding ` None ` if no stdout is available and ` BrokenPipe ` if stdout has been closed
pub fn try_read(&mut self) -> io::Result<Option<Vec<u8>>> {
        match self.0.try_recv() {
            Ok(data) => Ok(Some(data)),
            Err(TryRecvError::Empty) => Ok(None),
            Err(TryRecvError::Disconnected) => Err(io::Error::from(io::ErrorKind::BrokenPipe)),
        }
    }
pub fn try_read ( & mut self ) -> io :: Result < Option < Vec < u8 > > > { match self . 0 . try_recv ( ) { Ok ( data ) => Ok ( Some ( data ) ) , Err ( TryRecvError :: Empty ) => Ok ( None ) , Err ( TryRecvError :: Disconnected ) => Err ( io :: Error :: from ( io :: ErrorKind :: BrokenPipe ) ) , } }
Tries to receive latest stdout for a remote process, yielding `None`
if no stdout is available, and `BrokenPipe` if stdout has been closed
Tries to receive latest stdout for a remote process yielding ` None ` if no stdout is available and ` BrokenPipe ` if stdout has been closed
&mut self