pub enum AddPathError {
File(FileCommandError),
Join(JoinPathsError),
}
Variants§
File(FileCommandError)
Join(JoinPathsError)
Trait Implementations§
Source§impl Debug for AddPathError
impl Debug for AddPathError
Source§impl Display for AddPathError
impl Display for AddPathError
Source§impl Error for AddPathError
impl Error for AddPathError
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<FileCommandError> for AddPathError
impl From<FileCommandError> for AddPathError
Source§fn from(source: FileCommandError) -> Self
fn from(source: FileCommandError) -> Self
Converts to this type from the input type.
Source§impl From<JoinPathsError> for AddPathError
impl From<JoinPathsError> for AddPathError
Source§fn from(source: JoinPathsError) -> Self
fn from(source: JoinPathsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AddPathError
impl !RefUnwindSafe for AddPathError
impl Send for AddPathError
impl Sync for AddPathError
impl Unpin for AddPathError
impl !UnwindSafe for AddPathError
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