pub enum OnError {
Fail,
Skip,
}Expand description
What to do when a stage fails for a given Source.
The default for every stage is OnError::Fail; a source opts into tolerance per stage with
on_error=(<stage>=skip).
Variants§
Fail
Abort the pipeline with the error (default).
Skip
Skip this source’s contribution (load/parse) or fall back to a default (validate).
Trait Implementations§
impl Copy for OnError
impl Eq for OnError
impl StructuralPartialEq for OnError
Auto Trait Implementations§
impl Freeze for OnError
impl RefUnwindSafe for OnError
impl Send for OnError
impl Sync for OnError
impl Unpin for OnError
impl UnsafeUnpin for OnError
impl UnwindSafe for OnError
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