pub struct Output {
pub status: ExitStatus,
pub stdout: Vec<String>,
pub stderr: Vec<String>,
}Expand description
Full output of a process that terminated.
Both it’s stdout and stderr streams were collected as individual lines. Depending on the
crate::LineParsingOptions used, content might have been lost.
Fields§
§status: ExitStatusStatus the process exited with.
stdout: Vec<String>The processes entire output on its stdout stream, collected into individual lines.
Depending on the crate::LineParsingOptions used, content might have been lost.
stderr: Vec<String>The processes entire output on its stderr stream, collected into individual lines.
Depending on the crate::LineParsingOptions used, content might have been lost.
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