pub enum PathsError {
HomeNotFound,
}Expand description
Failure resolving the per-user base directories.
Variants§
HomeNotFound
No home directory could be determined for the current user, so none of the XDG bases resolve.
Trait Implementations§
Source§impl Debug for PathsError
impl Debug for PathsError
Source§impl Display for PathsError
impl Display for PathsError
Source§impl Error for PathsError
impl Error for PathsError
1.30.0 · 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<PathsError> for ConfigError
impl From<PathsError> for ConfigError
Source§fn from(source: PathsError) -> Self
fn from(source: PathsError) -> Self
Converts to this type from the input type.
Source§impl From<PathsError> for InstanceError
impl From<PathsError> for InstanceError
Source§fn from(source: PathsError) -> Self
fn from(source: PathsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PathsError
impl RefUnwindSafe for PathsError
impl Send for PathsError
impl Sync for PathsError
impl Unpin for PathsError
impl UnsafeUnpin for PathsError
impl UnwindSafe for PathsError
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