Enum scan_dir::Error []

pub enum Error {
    Io(ErrorPathBuf),
    Decode(PathBuf),
}

Error type for scan dir

It always contains the file name of the entry so display of an error is always an informative thing

Variants

I/O error occured when reading directory

Second parameter contains path to the original directory

Can't decode filename

PathBuf contains path to the specific file which has bad filename

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

A short description of the error. Read more

The lower-level cause of this error, if any. Read more