pub struct ExecutionOutput {
pub stdout: String,
pub stderr: String,
pub exit_code: i32,
}Expand description
Output captured from running a compiled binary.
Fields§
§stdout: StringStandard output
stderr: StringStandard error
exit_code: i32Process exit code (0 = success)
Trait Implementations§
Source§impl Clone for ExecutionOutput
impl Clone for ExecutionOutput
Source§fn clone(&self) -> ExecutionOutput
fn clone(&self) -> ExecutionOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecutionOutput
impl Debug for ExecutionOutput
impl Eq for ExecutionOutput
Source§impl PartialEq for ExecutionOutput
impl PartialEq for ExecutionOutput
Source§fn eq(&self, other: &ExecutionOutput) -> bool
fn eq(&self, other: &ExecutionOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExecutionOutput
Auto Trait Implementations§
impl Freeze for ExecutionOutput
impl RefUnwindSafe for ExecutionOutput
impl Send for ExecutionOutput
impl Sync for ExecutionOutput
impl Unpin for ExecutionOutput
impl UnsafeUnpin for ExecutionOutput
impl UnwindSafe for ExecutionOutput
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