pub struct ProcessRunResult {
pub status: ExitStatus,
pub stdout: CollectedStream,
pub stderr: CollectedStream,
pub stdin_write_error: Option<StdinWriteError>,
pub stdin_close_error: Option<StdinWriteError>,
}Expand description
Result of a completed child-process execution.
Fields§
§status: ExitStatusFinal exit status returned by the child process.
stdout: CollectedStreamBounded stdout capture collected during execution.
stderr: CollectedStreamBounded stderr capture collected during execution.
stdin_write_error: Option<StdinWriteError>Error returned while writing stdin, if the write failed after spawn succeeded.
stdin_close_error: Option<StdinWriteError>Error returned while closing stdin, if shutdown failed after writing.
Trait Implementations§
Source§impl Clone for ProcessRunResult
impl Clone for ProcessRunResult
Source§fn clone(&self) -> ProcessRunResult
fn clone(&self) -> ProcessRunResult
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 moreSource§impl Debug for ProcessRunResult
impl Debug for ProcessRunResult
Source§impl PartialEq for ProcessRunResult
impl PartialEq for ProcessRunResult
impl Eq for ProcessRunResult
impl StructuralPartialEq for ProcessRunResult
Auto Trait Implementations§
impl Freeze for ProcessRunResult
impl RefUnwindSafe for ProcessRunResult
impl Send for ProcessRunResult
impl Sync for ProcessRunResult
impl Unpin for ProcessRunResult
impl UnsafeUnpin for ProcessRunResult
impl UnwindSafe for ProcessRunResult
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