Skip to main content

ReadDir

Trait ReadDir 

Source
pub trait ReadDir: Filesystem {
    // Required method
    fn read_dir(&self, path: &Path) -> Result<Vec<PathBuf>>;
}

Required Methods§

Source

fn read_dir(&self, path: &Path) -> Result<Vec<PathBuf>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§