Struct cargo_auto_lib::ShellOutput
source · pub struct ShellOutput {
pub status: i32,
pub stdout: String,
pub stderr: String,
}
Expand description
similar to std::process::Output, but with i32 and Strings for easier work
Fields§
§status: i32
The status (exit code) of the process.
stdout: String
The string that the process wrote to stdout.
stderr: String
The string that the process wrote to stderr.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ShellOutput
impl Send for ShellOutput
impl Sync for ShellOutput
impl Unpin for ShellOutput
impl UnwindSafe for ShellOutput
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