pub trait FsReadDir: BaseFsReadDir {
// Provided method
fn fs_read_dir(
&self,
path: impl AsRef<Path>,
) -> Result<Box<dyn Iterator<Item = Result<Self::ReadDirEntry>> + '_>> { ... }
}
Provided Methods§
fn fs_read_dir( &self, path: impl AsRef<Path>, ) -> Result<Box<dyn Iterator<Item = Result<Self::ReadDirEntry>> + '_>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.