pub enum CommandExtError {
Check {
status: ExitStatus,
stdout: String,
stderr: String,
},
StdIoError(Error),
}Expand description
An error when checking the result of a command
Variants§
Trait Implementations§
Source§impl Debug for CommandExtError
impl Debug for CommandExtError
Source§impl Display for CommandExtError
impl Display for CommandExtError
Source§impl Error for CommandExtError
impl Error for CommandExtError
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 !RefUnwindSafe for CommandExtError
impl !UnwindSafe for CommandExtError
impl Freeze for CommandExtError
impl Send for CommandExtError
impl Sync for CommandExtError
impl Unpin for CommandExtError
impl UnsafeUnpin for CommandExtError
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