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
HomeMissing
This error occurs when the $HOME variable is not set.
IoError(Error)
This error occurs when the user don't have required permission for the file/directory.
ParseError(String)
This error occurs when the Unicode string is invalid and cannot be parsed.
PlatformError(String)
This error occurs when there are platform-specific errors such as Windows API related errors.
Trait Implementations
impl Debug for DirsError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<FromUtf16Error> for DirsError
[src]
fn from(_: FromUtf16Error) -> Self
[src]
Performs the conversion.
impl ErrorTrait for DirsError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&ErrorTrait>
[src]
The lower-level cause of this error, if any. Read more