pub enum HomeError {
NotFound,
NotAbsolute(PathBuf),
}Expand description
Why there is no cuno home.
Variants§
NotFound
Neither CUNO_HOME nor a user home directory is set.
NotAbsolute(PathBuf)
CUNO_HOME is not an absolute path.
Trait Implementations§
impl Eq for HomeError
Source§impl Error for HomeError
impl Error for HomeError
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()
impl StructuralPartialEq for HomeError
Auto Trait Implementations§
impl Forget for HomeError
impl Freeze for HomeError
impl Move for HomeError
impl RefUnwindSafe for HomeError
impl Send for HomeErrorwhere
RawVecInner: Send,
impl Sync for HomeErrorwhere
RawVecInner: Sync,
impl Unpin for HomeError
impl UnsafeUnpin for HomeError
impl UnwindSafe for HomeErrorwhere
RawVecInner: UnwindSafe,
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