Enum conch_runtime::error::RedirectionError[][src]

pub enum RedirectionError {
    Ambiguous(Vec<String>),
    BadFdSrc(String),
    BadFdPerms(FdPermissions),
    Io(IoErrorOption<String>),
}

An error which may arise during redirection.

Variants

A redirect path evaluated to multiple fields.

Attempted to duplicate an invalid file descriptor.

Attempted to duplicate a file descriptor with Read/Write access that differs from the original.

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]

Formats the value using the given formatter. Read more

impl Eq for RedirectionError
[src]

impl PartialEq for RedirectionError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Error for RedirectionError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for RedirectionError
[src]

Formats the value using the given formatter. Read more

impl IsFatalError for RedirectionError
[src]

Checks whether the error should be considered a "fatal" error.

impl From<RedirectionError> for RuntimeError
[src]

Performs the conversion.

Auto Trait Implementations