Enum dire::DirsError [] [src]

pub enum DirsError {
    HomeMissing,
    IoError(Error),
    ParseError(String),
    PlatformError(String),
}

Error that is returned when the operation system's interfaces cannot be queried for the path information.

Variants

This error occurs when the $HOME variable is not set.

This error occurs when the user don't have required permission for the file/directory.

This error occurs when the Unicode string is invalid and cannot be parsed.

This error occurs when there are platform-specific errors such as Windows API related errors.

Trait Implementations

impl Debug for DirsError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<FromUtf16Error> for DirsError
[src]

[src]

Performs the conversion.

impl ErrorTrait for DirsError
[src]

[src]

A short description of the error. Read more

[src]

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

impl Display for DirsError
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for DirsError

impl Sync for DirsError