Struct command_run::Output [−][src]
pub struct Output {
pub status: ExitStatus,
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
}
Expand description
The output of a finished process.
Fields
status: ExitStatus
The status (exit code) of the process.
stdout: Vec<u8>
The data that the process wrote to stdout.
stderr: Vec<u8>
The data that the process wrote to stderr.
Implementations
Get stdout as a string.
Get stderr as a string.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Output
impl UnwindSafe for Output
Blanket Implementations
Mutably borrows from an owned value. Read more