pub enum ParallelStepError {
StepFailed {
name: String,
reason: String,
},
MultipleStepsFailed {
count: usize,
total: usize,
results: Vec<StepResult>,
},
Timeout {
name: String,
},
}Expand description
Errors from parallel (or sequential) step execution.
Variants§
StepFailed
A single named step failed.
MultipleStepsFailed
Multiple steps failed (reported when fail_fast = false).
Fields
§
results: Vec<StepResult>Individual step results (both successes and failures).
Timeout
A step exceeded its per-step timeout.
Trait Implementations§
Source§impl Debug for ParallelStepError
impl Debug for ParallelStepError
Source§impl Display for ParallelStepError
impl Display for ParallelStepError
Source§impl Error for ParallelStepError
impl Error for ParallelStepError
1.30.0 · 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 Freeze for ParallelStepError
impl RefUnwindSafe for ParallelStepError
impl Send for ParallelStepError
impl Sync for ParallelStepError
impl Unpin for ParallelStepError
impl UnsafeUnpin for ParallelStepError
impl UnwindSafe for ParallelStepError
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