[][src]Enum app_dirs2::AppDirsError

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

Error type for any app_dirs operation.

Variants

Io(Error)

An I/O error occurred during the operation.

NotSupported

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

InvalidAppInfo

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

Trait Implementations

impl From<Error> for AppDirsError[src]

impl Debug for AppDirsError[src]

impl Display for AppDirsError[src]

impl Error for AppDirsError[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]