pub enum EntryAction {
Keep,
Skip,
}Expand description
The action of the walk on an entry, as the entry filter decides it.
Variants§
Keep
The entry stays in the tree, and the walk enters it if it is a directory.
Skip
The walk leaves out the entry, and for a directory its whole subtree.
Trait Implementations§
Source§impl Clone for EntryAction
impl Clone for EntryAction
impl Copy for EntryAction
Source§impl Debug for EntryAction
impl Debug for EntryAction
impl Eq for EntryAction
Source§impl PartialEq for EntryAction
impl PartialEq for EntryAction
impl StructuralPartialEq for EntryAction
Auto Trait Implementations§
impl Freeze for EntryAction
impl RefUnwindSafe for EntryAction
impl Send for EntryAction
impl Sync for EntryAction
impl Unpin for EntryAction
impl UnsafeUnpin for EntryAction
impl UnwindSafe for EntryAction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.