Struct unix_exec_output_catcher::ProcessOutput [−][src]
pub struct ProcessOutput { /* fields omitted */ }
Expand description
Holds the information from the executed process. It depends on the strategy
option of
crate::fork_exec_and_catch
how the output is structured.
The strategy results in the following two kinds of outputs:
stdout_lines
andstderr_lines
are correct butstdcombined_lines
is only maybe in correct order- or
stdout_lines
andstderr_lines
areNone
, butstdcombined_lines
is in correct order
Implementations
Getter for stdout_lines
. This is only available if OCatchStrategy::StdSeparately
was used.
Getter for stderr_lines
. This is only available if OCatchStrategy::StdSeparately
was used.
Getter for stdcombined_lines
. The correctness of the ordering depends on the used OCatchStrategy
.
Getter for the used OCatchStrategy
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ProcessOutput
impl !Send for ProcessOutput
impl !Sync for ProcessOutput
impl Unpin for ProcessOutput
impl UnwindSafe for ProcessOutput