pub struct ExecutionResult {
pub termination: Termination,
pub stdout: String,
pub stderr: String,
}Expand description
Child process execution result
Fields§
§termination: TerminationHow the process ended (graceful exit or error).
stdout: StringCaptured standard output of the process.
stderr: StringCaptured standard error of the process.
Implementations§
Auto Trait Implementations§
impl Freeze for ExecutionResult
impl RefUnwindSafe for ExecutionResult
impl Send for ExecutionResult
impl Sync for ExecutionResult
impl Unpin for ExecutionResult
impl UnsafeUnpin for ExecutionResult
impl UnwindSafe for ExecutionResult
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