pub enum ScanEntryDepth {
BaseDirectory,
AtDepth {
depth: usize,
},
}Expand description
Describes the depth of a scanned entry.
The depth is usually relative to a base directory (e.g. to the scan root).
Variants§
BaseDirectory
The given entry is the base directory of the scan.
AtDepth
The given entry is at depth levels under the base directory.
Trait Implementations§
Source§impl Clone for ScanEntryDepth
impl Clone for ScanEntryDepth
Source§fn clone(&self) -> ScanEntryDepth
fn clone(&self) -> ScanEntryDepth
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 ScanEntryDepth
impl Debug for ScanEntryDepth
Source§impl PartialEq for ScanEntryDepth
impl PartialEq for ScanEntryDepth
Source§impl PartialOrd for ScanEntryDepth
impl PartialOrd for ScanEntryDepth
impl Copy for ScanEntryDepth
impl Eq for ScanEntryDepth
impl StructuralPartialEq for ScanEntryDepth
Auto Trait Implementations§
impl Freeze for ScanEntryDepth
impl RefUnwindSafe for ScanEntryDepth
impl Send for ScanEntryDepth
impl Sync for ScanEntryDepth
impl Unpin for ScanEntryDepth
impl UnwindSafe for ScanEntryDepth
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