pub trait DirSource {
// Required method
fn list_dir(&self, path: &Path) -> Result<Vec<EntryInfo>>;
}Expand description
The seam from which the model obtains directory listings.
Implementations must return entries in arbitrary order; the model sorts.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".