Enum conch_runtime::error::CommandError [−][src]
An error which may arise when spawning a command process.
Variants
NotFound(String)Unable to find a command/function/builtin to execute.
NotExecutable(String)Utility or script does not have executable permissions.
Io(IoError, Option<String>)Any I/O error returned by the OS during execution and the file that caused the error if applicable.
Trait Implementations
impl Debug for CommandError[src]
impl Debug for CommandErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for CommandError[src]
impl Eq for CommandErrorimpl PartialEq for CommandError[src]
impl PartialEq for CommandErrorfn eq(&self, other: &Self) -> bool[src]
fn eq(&self, other: &Self) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Error for CommandError[src]
impl Error for CommandErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis 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 CommandError[src]
impl Display for CommandErrorfn fmt(&self, fmt: &mut Formatter) -> Result[src]
fn fmt(&self, fmt: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl IsFatalError for CommandError[src]
impl IsFatalError for CommandErrorimpl From<CommandError> for RuntimeError[src]
impl From<CommandError> for RuntimeErrorfn from(err: CommandError) -> Self[src]
fn from(err: CommandError) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for CommandError
impl Send for CommandErrorimpl Sync for CommandError
impl Sync for CommandError