Trait fuse::filesystem::DirectoryIterator
source · pub trait DirectoryIterator {
// Required method
fn next(&mut self) -> Option<DirEntry<'_>>;
}
Expand description
A trait for iterating over the contents of a directory. This trait is needed because rust
doesn’t support generic associated types, which means that it’s not possible to implement a
regular iterator that yields a DirEntry
due to its generic lifetime parameter.