pub struct RunResult {
pub status: i32,
pub stdout: String,
pub stderr: String,
pub duration: Duration,
pub timed_out: bool,
}Expand description
Output of a completed subprocess.
Fields§
§status: i32§stdout: String§stderr: String§duration: Duration§timed_out: booltrue when the configured timeout fired and the child was
terminated. status is then TIMEOUT_STATUS.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunResult
impl RefUnwindSafe for RunResult
impl Send for RunResult
impl Sync for RunResult
impl Unpin for RunResult
impl UnsafeUnpin for RunResult
impl UnwindSafe for RunResult
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