Enum ubend::Error[][src]

pub enum Error {
    OS(c_int),
    NotEnoughArguments,
    CannotRedirectStdinTo(Target),
    NotEnoughPipes,
    InvalidPipeLinkup,
}

Variants

A libc function returned an error of specified errno.

Any command needs to have at least one "argument" (the command name).

stdin cannot be redirected to stderr or stdout, since those are output streams and stdin is an input stream.

A pipe chain has to have at least one command.

If stdin of a child process is marked as PipeSetup::Pipe then stdout of the previous process in the chain has to be PipeSetup::Pipe or PipeSetup::Redirect(Target::Stdout) or stderr of that previous process has to be PipeSetup::Redirect(Target::Stdout).

Trait Implementations

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error