Enum release_utils::cmd::RunCommandError
source · pub enum RunCommandError {
Launch {
cmd: String,
err: Error,
},
NonZeroExit {
cmd: String,
status: ExitStatus,
},
}Expand description
Error returned when running a child process fails.
Variants§
Launch
Failed to launch command. May indicate the program is not installed.
NonZeroExit
The command exited with a non-zero code, or was terminated by a signal.
Trait Implementations§
source§impl Debug for RunCommandError
impl Debug for RunCommandError
source§impl Display for RunCommandError
impl Display for RunCommandError
source§impl Error for RunCommandError
impl Error for RunCommandError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 !RefUnwindSafe for RunCommandError
impl Send for RunCommandError
impl Sync for RunCommandError
impl Unpin for RunCommandError
impl !UnwindSafe for RunCommandError
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