pub struct ScanEntry { /* private fields */ }Expand description
A directory scan entry.
Implementations§
Source§impl ScanEntry
impl ScanEntry
Sourcepub fn depth(&self) -> &ScanEntryDepth
pub fn depth(&self) -> &ScanEntryDepth
Returns the depth of the entry inside the scan tree.
Sourcepub fn into_path(self) -> PathBuf
pub fn into_path(self) -> PathBuf
Consumes self and returns the owned path (PathBuf) of the scan entry.
Sourcepub fn into_metadata(self) -> Metadata
pub fn into_metadata(self) -> Metadata
Consumes self and returns the Metadata of the scan entry.
Auto Trait Implementations§
impl Freeze for ScanEntry
impl RefUnwindSafe for ScanEntry
impl Send for ScanEntry
impl Sync for ScanEntry
impl Unpin for ScanEntry
impl UnwindSafe for ScanEntry
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