Enum preferences::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
fn from(e: Error) -> AppDirsError
Performs the conversion.
impl Display for AppDirsError
impl Debug for AppDirsError
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.