Enum conch_runtime::error::RedirectionError
[−]
[src]
pub enum RedirectionError {
Ambiguous(Vec<String>),
BadFdSrc(String),
BadFdPerms(Fd, Permissions),
Io(IoError, Option<String>),
}An error which may arise during redirection.
Variants
Ambiguous(Vec<String>)A redirect path evaluated to multiple fields.
BadFdSrc(String)Attempted to duplicate an invalid file descriptor.
BadFdPerms(Fd, Permissions)Attempted to duplicate a file descriptor with Read/Write access that differs from the original.
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 RedirectionError[src]
impl Eq for RedirectionError[src]
impl PartialEq for RedirectionError[src]
fn eq(&self, other: &Self) -> bool[src]
This 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]
This method tests for !=.
impl Error for RedirectionError[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>[src]
The lower-level cause of this error, if any. Read more
impl Display for RedirectionError[src]
fn fmt(&self, fmt: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more