pub enum KomichiError {
PathConvertError {
path: String,
source: PathConvertError,
},
HomeError(HomeError),
CwdError(CwdError),
ExpandPathError(ExpandPathError),
ExpandTextError(ExpandTextError),
}Variants§
PathConvertError
HomeError(HomeError)
CwdError(CwdError)
ExpandPathError(ExpandPathError)
ExpandTextError(ExpandTextError)
Trait Implementations§
Source§impl Debug for KomichiError
impl Debug for KomichiError
Source§impl Display for KomichiError
impl Display for KomichiError
Source§impl Error for KomichiError
impl Error for KomichiError
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<CwdError> for KomichiError
impl From<CwdError> for KomichiError
Source§impl From<ExpandPathError> for KomichiError
impl From<ExpandPathError> for KomichiError
Source§fn from(source: ExpandPathError) -> Self
fn from(source: ExpandPathError) -> Self
Converts to this type from the input type.
Source§impl From<ExpandTextError> for KomichiError
impl From<ExpandTextError> for KomichiError
Source§fn from(source: ExpandTextError) -> Self
fn from(source: ExpandTextError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KomichiError
impl !RefUnwindSafe for KomichiError
impl Send for KomichiError
impl Sync for KomichiError
impl Unpin for KomichiError
impl !UnwindSafe for KomichiError
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