Enum ezcmd::RunErrorKind
source · pub enum RunErrorKind {
SpawnAndWait(SpawnAndWaitErrorKind),
UnsuccessfulExitCode {
code: Option<i32>,
},
}
Expand description
The specific error case encountered with a EasyCommand::run
.
Variants§
Trait Implementations§
source§impl Debug for RunErrorKind
impl Debug for RunErrorKind
source§impl Display for RunErrorKind
impl Display for RunErrorKind
source§impl Error for RunErrorKind
impl Error for RunErrorKind
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()
source§impl From<SpawnAndWaitErrorKind> for RunErrorKind
impl From<SpawnAndWaitErrorKind> for RunErrorKind
source§fn from(source: SpawnAndWaitErrorKind) -> Self
fn from(source: SpawnAndWaitErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
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