Enum wax::walk::EntryResidue
source · pub enum EntryResidue {
File,
Tree,
}
Available on crate feature
walk
only.Expand description
Describes how file entries are read and discarded by FileIterator::filter_entry
.
Variants§
File
Discard the file.
The entry for the given file is discarded. Only this particular file is ignored and if the entry refers to a directory, then its tree is still read from the file system.
Tree
Discard the file and its directory tree, if any.
The entry for the given file is discarded. If the entry refers to a directory, then its entire tree is ignored and is not read from the file system.
If the entry refers to a normal file (not a directory), then this is the same as
EntryResidue::File
.
Trait Implementations§
source§impl Clone for EntryResidue
impl Clone for EntryResidue
source§fn clone(&self) -> EntryResidue
fn clone(&self) -> EntryResidue
Returns a copy 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 EntryResidue
impl Debug for EntryResidue
source§impl Hash for EntryResidue
impl Hash for EntryResidue
source§impl PartialEq<EntryResidue> for EntryResidue
impl PartialEq<EntryResidue> for EntryResidue
source§fn eq(&self, other: &EntryResidue) -> bool
fn eq(&self, other: &EntryResidue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EntryResidue
impl Eq for EntryResidue
impl StructuralEq for EntryResidue
impl StructuralPartialEq for EntryResidue
Auto Trait Implementations§
impl RefUnwindSafe for EntryResidue
impl Send for EntryResidue
impl Sync for EntryResidue
impl Unpin for EntryResidue
impl UnwindSafe for EntryResidue
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