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 RuntimeError
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 Eq for RuntimeError
[src]
impl Eq for RuntimeError
impl PartialEq for RuntimeError
[src]
impl PartialEq for RuntimeError
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Error for RuntimeError
[src]
impl Error for RuntimeError
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 RuntimeError
[src]
impl Display for RuntimeError
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl IsFatalError for RuntimeError
[src]
impl IsFatalError for RuntimeError
impl From<IoError> for RuntimeError
[src]
impl From<IoError> for RuntimeError
impl From<ExpansionError> for RuntimeError
[src]
impl From<ExpansionError> for RuntimeError
fn from(err: ExpansionError) -> Self
[src]
fn from(err: ExpansionError) -> Self
Performs the conversion.
impl From<RedirectionError> for RuntimeError
[src]
impl From<RedirectionError> for RuntimeError
fn from(err: RedirectionError) -> Self
[src]
fn from(err: RedirectionError) -> Self
Performs the conversion.
impl From<CommandError> for RuntimeError
[src]
impl From<CommandError> for RuntimeError
fn from(err: CommandError) -> Self
[src]
fn from(err: CommandError) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for RuntimeError
impl Send for RuntimeError
impl Sync for RuntimeError
impl Sync for RuntimeError