pub enum FileCommandError {
Missing {
source: VarError,
cmd: String,
},
Io(Error),
Value(ValueError),
}
Variants§
Trait Implementations§
Source§impl Debug for FileCommandError
impl Debug for FileCommandError
Source§impl Display for FileCommandError
impl Display for FileCommandError
Source§impl Error for FileCommandError
impl Error for FileCommandError
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 FileCommandError
impl From<Error> for FileCommandError
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<FileCommandError> for CommandError
impl From<FileCommandError> for CommandError
Source§fn from(source: FileCommandError) -> Self
fn from(source: FileCommandError) -> Self
Converts to this type from the input type.
Source§impl From<ValueError> for FileCommandError
impl From<ValueError> for FileCommandError
Source§fn from(source: ValueError) -> Self
fn from(source: ValueError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FileCommandError
impl !RefUnwindSafe for FileCommandError
impl Send for FileCommandError
impl Sync for FileCommandError
impl Unpin for FileCommandError
impl !UnwindSafe for FileCommandError
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