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]

[src]

Formats the value using the given formatter.

impl Eq for RedirectionError
[src]

impl PartialEq for RedirectionError
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Error for RedirectionError
[src]

[src]

A short description of the error. Read more

[src]

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

impl Display for RedirectionError
[src]

[src]

Formats the value using the given formatter. Read more

impl IsFatalError for RedirectionError
[src]

[src]

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