#[non_exhaustive]pub enum TraversalErrorPolicy {
FailFast,
SkipErrors,
}Expand description
How to handle I/O errors during traversal.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for TraversalErrorPolicy
impl Clone for TraversalErrorPolicy
Source§fn clone(&self) -> TraversalErrorPolicy
fn clone(&self) -> TraversalErrorPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TraversalErrorPolicy
Source§impl Debug for TraversalErrorPolicy
impl Debug for TraversalErrorPolicy
Source§impl Default for TraversalErrorPolicy
impl Default for TraversalErrorPolicy
Source§fn default() -> TraversalErrorPolicy
fn default() -> TraversalErrorPolicy
Returns the “default value” for a type. Read more
impl Eq for TraversalErrorPolicy
Source§impl PartialEq for TraversalErrorPolicy
impl PartialEq for TraversalErrorPolicy
impl StructuralPartialEq for TraversalErrorPolicy
Auto Trait Implementations§
impl Freeze for TraversalErrorPolicy
impl RefUnwindSafe for TraversalErrorPolicy
impl Send for TraversalErrorPolicy
impl Sync for TraversalErrorPolicy
impl Unpin for TraversalErrorPolicy
impl UnsafeUnpin for TraversalErrorPolicy
impl UnwindSafe for TraversalErrorPolicy
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