Enum ubend::Error[][src]

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

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.

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