pub trait HostDirRead<F: HostFileRead> {
type Id: Hash + Eq + Ord;
// Required methods
fn next_entry(&mut self) -> Option<Result<HostDirEntry, IoError>>;
fn open_file(&mut self, name: &FileName) -> Result<F, IoError>;
fn open_dir(
&mut self,
name: &FileName,
) -> Result<(Self, Option<Self::Id>), IoError>
where Self: Sized;
}Expand description
Host directory reader.