Function nix::dirent::readdir [] [src]

pub fn readdir<'a>(
    dir: &'a mut DirectoryStream
) -> Result<Option<DirectoryEntry>>

Returns the next directory entry in the directory stream.

It returns Some(None) on reaching the end of the directory stream.