pub enum RunErrorKind {
Failed(RunOutput),
Io(Error),
Custom(String),
Other(Box<dyn Sync + Send + Error + 'static>),
}
Expand description
Error while running a command.
Variants§
Failed(RunOutput)
The command failed with a non-zero exit code.
Io(Error)
There was an io::Error
.
Custom(String)
A custom error message.
Other(Box<dyn Sync + Send + Error + 'static>)
The was some other error.
Implementations§
Source§impl RunErrorKind
impl RunErrorKind
Trait Implementations§
Source§impl Debug for RunErrorKind
impl Debug for RunErrorKind
Source§impl From<&str> for RunErrorKind
impl From<&str> for RunErrorKind
Source§impl From<Error> for RunErrorKind
impl From<Error> for RunErrorKind
Source§impl From<RunOutput> for RunErrorKind
impl From<RunOutput> for RunErrorKind
Auto Trait Implementations§
impl Freeze for RunErrorKind
impl !RefUnwindSafe for RunErrorKind
impl Send for RunErrorKind
impl Sync for RunErrorKind
impl Unpin for RunErrorKind
impl !UnwindSafe for RunErrorKind
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