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 and stderr_lines are correct but stdcombined_lines is only maybe in correct order
  • or stdout_lines and stderr_lines are None, but stdcombined_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 exit_code of the executed child process.

Getter for the used OCatchStrategy.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.