pub struct CommandOutput {
pub stdout: Option<Vec<u8>>,
pub stderr: Option<Vec<u8>>,
pub success: bool,
}Expand description
The output of running a single command via CommandRunner.
Fields§
§stdout: Option<Vec<u8>>The command’s stdout, if any.
stderr: Option<Vec<u8>>The command’s stderr, if any. Included in the next command’s input when
the preceding pipe operator is |&.
success: boolWhether the command succeeded. Controls &&/|| branching.
Auto Trait Implementations§
impl Freeze for CommandOutput
impl RefUnwindSafe for CommandOutput
impl Send for CommandOutput
impl Sync for CommandOutput
impl Unpin for CommandOutput
impl UnsafeUnpin for CommandOutput
impl UnwindSafe for CommandOutput
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