pub struct UnexpectedExitStatus { /* private fields */ }
Expand description
The command failed due to an unexpected exit status.
By default this means the exit status was not 0, but this can be reconfigured.
Trait Implementations§
Source§impl Debug for UnexpectedExitStatus
impl Debug for UnexpectedExitStatus
Source§impl Display for UnexpectedExitStatus
impl Display for UnexpectedExitStatus
Source§impl Error for UnexpectedExitStatus
impl Error for UnexpectedExitStatus
1.30.0 · 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()
Source§impl From<UnexpectedExitStatus> for CommandExecutionError
impl From<UnexpectedExitStatus> for CommandExecutionError
Source§fn from(source: UnexpectedExitStatus) -> Self
fn from(source: UnexpectedExitStatus) -> Self
Converts to this type from the input type.
Source§impl From<UnexpectedExitStatus> for CommandExecutionWithStringOutputError
impl From<UnexpectedExitStatus> for CommandExecutionWithStringOutputError
Source§fn from(source: UnexpectedExitStatus) -> Self
fn from(source: UnexpectedExitStatus) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UnexpectedExitStatus
impl RefUnwindSafe for UnexpectedExitStatus
impl Send for UnexpectedExitStatus
impl Sync for UnexpectedExitStatus
impl Unpin for UnexpectedExitStatus
impl UnwindSafe for UnexpectedExitStatus
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