pub struct ExecutionError {
pub failure: ExecutionFailure,
pub evidence: ExecutionEvidence,
pub group_error: Option<Error>,
pub kill_error: Option<Error>,
pub wait_error: Option<Error>,
}Expand description
A failed invocation with bounded output and separately retained cleanup errors.
Fields§
§failure: ExecutionFailureOriginal failure; never replaced by a cleanup failure.
evidence: ExecutionEvidenceObserved status and bounded stdout/stderr prefixes.
group_error: Option<Error>Failure signalling an explicitly owned process group; absent in direct capture.
kill_error: Option<Error>Failure to terminate the direct child, if termination was needed.
wait_error: Option<Error>Failure to reap the direct child, if reaping was needed.
Trait Implementations§
Source§impl Debug for ExecutionError
impl Debug for ExecutionError
Source§impl Display for ExecutionError
impl Display for ExecutionError
Source§impl Error for ExecutionError
impl Error for ExecutionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for ExecutionError
impl !UnwindSafe for ExecutionError
impl Freeze for ExecutionError
impl Send for ExecutionError
impl Sync for ExecutionError
impl Unpin for ExecutionError
impl UnsafeUnpin for ExecutionError
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