pub struct WalkdirResult {
pub relpath: PathBuf,
pub abspath: PathBuf,
pub kind: Kind,
pub stat: Option<Metadata>,
pub versioned: bool,
}Expand description
Result of walking directories in a tree.
Fields§
§relpath: PathBufThe path relative to the tree root.
abspath: PathBufThe absolute path.
kind: KindThe kind of the entry.
stat: Option<Metadata>The stat information for the entry.
versioned: boolWhether the entry is versioned.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WalkdirResult
impl RefUnwindSafe for WalkdirResult
impl Send for WalkdirResult
impl Sync for WalkdirResult
impl Unpin for WalkdirResult
impl UnwindSafe for WalkdirResult
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