pub struct Output {
pub exit: ExitStatus,
pub exit_code: Option<i32>,
pub files: Vec<OutputFile>,
pub args: Vec<String>,
pub logs: Vec<LogLine>,
}
Expand description
Full output of the child process, including the exit code, log, and any output files.
This also includes the command-line arguments that were passed, for diagnostic purposes.
Fields§
§exit: ExitStatus
The exit status of the child process.
exit_code: Option<i32>
The exit code corresponding to the exit status, if one exists.
See the docs on std::process::ExitStatus::code
.
files: Vec<OutputFile>
All output files that the child process produced.
args: Vec<String>
The command-line arguments that were passed to the child process.
logs: Vec<LogLine>
The log output of the child process, as a list of parsed log lines.
Trait Implementations§
impl Eq for Output
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more