pub enum Stage {
Load,
Parse,
Validate,
}Expand description
A pipeline stage whose errors a Source can choose to tolerate.
Declared in the source string via the reserved on_error option, e.g.
file(on_error=(load=skip,validate=skip)):/etc/app.
Variants§
Load
The load stage (fetching the raw bytes).
Parse
The parse stage (turning bytes into values).
Validate
The validate stage (checking values against a schema).
Implementations§
Trait Implementations§
impl Copy for Stage
impl Eq for Stage
impl StructuralPartialEq for Stage
Auto Trait Implementations§
impl Freeze for Stage
impl RefUnwindSafe for Stage
impl Send for Stage
impl Sync for Stage
impl Unpin for Stage
impl UnsafeUnpin for Stage
impl UnwindSafe for Stage
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