pub struct RunRecord {
pub pid: Option<u32>,
pub exit_code: Option<i32>,
pub exit_success: bool,
pub response_bytes: usize,
pub elapsed: Duration,
pub timed_out: bool,
}Expand description
Facts about one isolated run, returned on success and carried by WorkerFailure on failure.
Fields§
§pid: Option<u32>Child process id; None when the child never started.
exit_code: Option<i32>Exit code; None for a signal kill or when the status was unavailable.
exit_success: booltrue only when the child exited with status zero.
response_bytes: usizeBytes captured from the child’s stdout, up to the protocol limit.
elapsed: DurationTime from spawn to the end of the run (zero when the child never started).
timed_out: booltrue when the run ended by deadline, the parent’s or the child’s watchdog.
Trait Implementations§
impl Eq for RunRecord
impl StructuralPartialEq for RunRecord
Auto Trait Implementations§
impl Freeze for RunRecord
impl RefUnwindSafe for RunRecord
impl Send for RunRecord
impl Sync for RunRecord
impl Unpin for RunRecord
impl UnsafeUnpin for RunRecord
impl UnwindSafe for RunRecord
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