pub struct CmdOutput {
pub success: bool,
pub stdout: String,
pub stderr: String,
}Expand description
Output from a shell command.
Fields§
§success: boolWhether the command exited with status 0.
stdout: StringStandard output.
stderr: StringStandard error.
Auto Trait Implementations§
impl Freeze for CmdOutput
impl RefUnwindSafe for CmdOutput
impl Send for CmdOutput
impl Sync for CmdOutput
impl Unpin for CmdOutput
impl UnsafeUnpin for CmdOutput
impl UnwindSafe for CmdOutput
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