pub enum CommandRunError {
OpenFailed {
source: Error,
path: PathBuf,
},
RunFailed {
source: SubcommandRunError,
},
}Variants§
Trait Implementations§
Source§impl Debug for CommandRunError
impl Debug for CommandRunError
Source§impl Display for CommandRunError
impl Display for CommandRunError
Source§impl Error for CommandRunError
impl Error for CommandRunError
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()
Auto Trait Implementations§
impl Freeze for CommandRunError
impl !RefUnwindSafe for CommandRunError
impl Send for CommandRunError
impl Sync for CommandRunError
impl Unpin for CommandRunError
impl !UnwindSafe for CommandRunError
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