pub struct CommandOutput {
pub stdout: String,
pub stderr: String,
pub exit_code: i32,
pub success: bool,
}Expand description
Raw output from a Codex CLI invocation.
Contains captured stdout/stderr, the process exit code, and a convenience
success flag.
Fields§
§stdout: StringStandard output as a UTF-8 string.
stderr: StringStandard error as a UTF-8 string.
exit_code: i32Process exit code (-1 if the process was killed by a signal).
success: booltrue when the process exited with code 0.
Trait Implementations§
Source§impl Clone for CommandOutput
impl Clone for CommandOutput
Auto Trait Implementations§
impl Forget for CommandOutput
impl Freeze for CommandOutput
impl Move for CommandOutput
impl RefUnwindSafe for CommandOutput
impl Send for CommandOutputwhere
RawVecInner: Send,
impl Sync for CommandOutputwhere
RawVecInner: Sync,
impl Unpin for CommandOutput
impl UnsafeUnpin for CommandOutput
impl UnwindSafe for CommandOutputwhere
RawVecInner: UnwindSafe,
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