Enum conch_runtime::error::RuntimeError [−][src]
pub enum RuntimeError {
Io(IoError, Option<String>),
Expansion(ExpansionError),
Redirection(RedirectionError),
Command(CommandError),
Unimplemented(&'static str),
}An error which may arise while executing commands.
Variants
Io(IoError, Option<String>)Any I/O error returned by the OS during execution and the file that caused the error if applicable.
Expansion(ExpansionError)Any error that occured during a parameter expansion.
Redirection(RedirectionError)Any error that occured during a redirection.
Command(CommandError)Any error that occured during a command spawning.
Unimplemented(&'static str)Runtime feature not currently supported.
Trait Implementations
impl Debug for RuntimeError[src]
impl Debug for RuntimeErrorfn 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 RuntimeError[src]
impl Eq for RuntimeErrorimpl PartialEq for RuntimeError[src]
impl PartialEq for RuntimeErrorfn 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 RuntimeError[src]
impl Error for RuntimeErrorfn 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 RuntimeError[src]
impl Display for RuntimeErrorfn 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 RuntimeError[src]
impl IsFatalError for RuntimeErrorimpl From<IoError> for RuntimeError[src]
impl From<IoError> for RuntimeErrorimpl From<ExpansionError> for RuntimeError[src]
impl From<ExpansionError> for RuntimeErrorfn from(err: ExpansionError) -> Self[src]
fn from(err: ExpansionError) -> SelfPerforms the conversion.
impl From<RedirectionError> for RuntimeError[src]
impl From<RedirectionError> for RuntimeErrorfn from(err: RedirectionError) -> Self[src]
fn from(err: RedirectionError) -> SelfPerforms the conversion.
impl 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 RuntimeError
impl Send for RuntimeErrorimpl Sync for RuntimeError
impl Sync for RuntimeError