pub enum PipelineError {
Step {
step: String,
source: StepError,
},
AccessViolation(AccessViolation),
Exhausted,
NoMatchingBranch {
step: String,
},
MaxIterationsExceeded {
step: String,
max_iterations: u32,
},
}Expand description
Why Pipeline::run failed.
See Pipeline::run for the full list of conditions that produce each
variant.
Variants§
Step
A step’s Step::run returned Err.
AccessViolation(AccessViolation)
A step read, wrote, or consumed a Context entry its
AccessSpec didn’t declare. See AccessViolation for which
step, which entry, and which kind of access.
Exhausted
Every step returned Flow::Continue; none produced a
Flow::Done output.
NoMatchingBranch
A Branch step’s condition function produced a key
that no arm was registered for.
MaxIterationsExceeded
A Loop step ran its body max_iterations times
without its condition function ever returning false.
Trait Implementations§
Source§impl Debug for PipelineError
impl Debug for PipelineError
Source§impl Display for PipelineError
impl Display for PipelineError
Source§impl Error for PipelineError
impl Error for PipelineError
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 PipelineError
impl !UnwindSafe for PipelineError
impl Freeze for PipelineError
impl Send for PipelineError
impl Sync for PipelineError
impl Unpin for PipelineError
impl UnsafeUnpin for PipelineError
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