pub enum HomeDirError {
Io(Error),
HomeDirNotFound,
}Expand description
Home Directory Errors
Variants§
Trait Implementations§
Source§impl Debug for HomeDirError
impl Debug for HomeDirError
Source§impl Display for HomeDirError
impl Display for HomeDirError
Source§impl Error for HomeDirError
impl Error for HomeDirError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for HomeDirError
impl From<Error> for HomeDirError
Source§impl From<HomeDirError> for ConfigError
impl From<HomeDirError> for ConfigError
Source§fn from(source: HomeDirError) -> Self
fn from(source: HomeDirError) -> Self
Converts to this type from the input type.
Source§impl From<HomeDirError> for TimerError
impl From<HomeDirError> for TimerError
Source§fn from(source: HomeDirError) -> Self
fn from(source: HomeDirError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HomeDirError
impl !RefUnwindSafe for HomeDirError
impl Send for HomeDirError
impl Sync for HomeDirError
impl Unpin for HomeDirError
impl !UnwindSafe for HomeDirError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more