Enum preferences::AppDirsError []

pub enum AppDirsError {
    Io(Error),
    NotSupported,
    InvalidAppInfo,
}

Error type for any app_dirs operation.

Variants

An I/O error occurred during the operation.

App-specific directories are not properly supported by the system (e.g. required environment variables don't exist).

App info given to this library was invalid (e.g. app name or author were empty).

Trait Implementations

impl From<Error> for AppDirsError

Performs the conversion.

impl Display for AppDirsError

Formats the value using the given formatter.

impl Debug for AppDirsError

Formats the value using the given formatter.

impl Error for AppDirsError

A short description of the error. Read more

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