Lyricdev
GitHub

class WalkIter

pub class WalkIter :: [Iterator]

Conforms to Iterator.

The entries under a directory, from walk. After its end or an error it gives no more.

Methods

pub mut fn next(): ?DirEntry throws IoError

Returns the next entry, or null at the end.

Errors

Throws IoError when a directory under the walk cannot be read.