pub trait DirWalker<'vfs>: 'vfs {
type P: PathType + ?Sized;
// Required method
fn next(
&mut self,
) -> Option<Result<DirEntryInfo<Self::P>, <Self::P as PathType>::OwnedPath>>;
}Expand description
A trait for walking a directory.
Behaves similarly to an Iterator over Result<DirEntryInfo, <Self::P as PathType>::OwnedPath>.