pub struct ScriptOutput {
pub exit_code: i32,
pub stdout: String,
pub stderr: String,
pub duration: Duration,
pub timed_out: bool,
}Expand description
Result of script execution
Contains all output from the script including stdout, stderr, exit code, timing information, and timeout status.
Fields§
§exit_code: i32Exit code (0 = success)
stdout: StringStandard output
stderr: StringStandard error
duration: DurationExecution duration
timed_out: boolWhether the script timed out
Implementations§
Trait Implementations§
Source§impl Clone for ScriptOutput
impl Clone for ScriptOutput
Source§fn clone(&self) -> ScriptOutput
fn clone(&self) -> ScriptOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScriptOutput
impl RefUnwindSafe for ScriptOutput
impl Send for ScriptOutput
impl Sync for ScriptOutput
impl Unpin for ScriptOutput
impl UnwindSafe for ScriptOutput
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