pub enum OnErrorStrategy {
FailFast,
Continue,
}Expand description
How the loop handles child node failures.
Variants§
FailFast
Stop the loop on the first child failure (default).
Continue
Record the failure, skip the iteration, continue to the next.
Trait Implementations§
Source§impl Clone for OnErrorStrategy
impl Clone for OnErrorStrategy
Source§fn clone(&self) -> OnErrorStrategy
fn clone(&self) -> OnErrorStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OnErrorStrategy
impl Debug for OnErrorStrategy
Source§impl Default for OnErrorStrategy
impl Default for OnErrorStrategy
Source§fn default() -> OnErrorStrategy
fn default() -> OnErrorStrategy
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnErrorStrategy
impl PartialEq for OnErrorStrategy
impl Copy for OnErrorStrategy
impl Eq for OnErrorStrategy
impl StructuralPartialEq for OnErrorStrategy
Auto Trait Implementations§
impl Freeze for OnErrorStrategy
impl RefUnwindSafe for OnErrorStrategy
impl Send for OnErrorStrategy
impl Sync for OnErrorStrategy
impl Unpin for OnErrorStrategy
impl UnsafeUnpin for OnErrorStrategy
impl UnwindSafe for OnErrorStrategy
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