Struct std::fs::ReadDirUnstable [-] [+] [src]

pub struct ReadDir(_);

Iterator over the entries in a directory.

This iterator is returned from the read_dir function of this module and will yield instances of io::Result<DirEntry>. Through a DirEntry information like the entry's path and possibly other metadata can be learned.

Trait Implementations

impl Iterator for ReadDir

type Item = Result<DirEntry>

fn next(&mut self) -> Option<Result<DirEntry>>

fn size_hint(&self) -> (usize, Option<usize>)