Struct tokio_process_bits::Hdl
[−]
[src]
pub struct Hdl { pub child: Child, pub stdout: Box<Stream<Item = String, Error = Error>>, pub stderr: Box<Stream<Item = String, Error = Error>>, }
Hdl is a handler type combining the child future and stdout and stderr streams returned from the execute function.
Fields
child: Child
The child future. If this goes out of scope, the process will be killed. Use the forget() method to avoid that.
stdout: Box<Stream<Item = String, Error = Error>>
Line based stream of child process' stdout
stderr: Box<Stream<Item = String, Error = Error>>
Line based stream of child process' stderr