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.