Enum easy_process::Error [−][src]
pub enum Error { Io(Error), Failure(ExitStatus, Output), }
Error variant for easy_process::run
.
Variants
Io(Error)
I/O error
Failure(ExitStatus, Output)
Process error. It holds two parts: first argument is the exit code and the second is the output (stdout and stderr).
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Error> for Error
[src]
impl From<Error> for Error
impl Error for Error
[src]
impl Error for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
impl Display for Error