pub trait Store {
type File;
// Required method
fn open_path(&self, path: &Path) -> Result<Self::File>;
// Provided method
fn entries_path(&self, _: &Path) -> Result<Entries<'_>> { ... }
}
Expand description
Generic file storage.
Required Associated Types§
Required Methods§
Provided Methods§
Sourcefn entries_path(&self, _: &Path) -> Result<Entries<'_>>
fn entries_path(&self, _: &Path) -> Result<Entries<'_>>
Returns an iterator over the files & directory entries in a given path.