Enum conch_parser::ast::ListableCommand [] [src]

pub enum ListableCommand<T> {
    Pipe(boolVec<T>),
    Single(T),
}

Commands that can be used within an and/or list.

Variants

A chain of concurrent commands where the standard output of the previous becomes the standard input of the next, e.g. [!] foo | bar | baz.

The bool indicates if a logical negation of the last command's status should be returned.

A single command not part of a pipeline.

Trait Implementations

impl<T: Debug> Debug for ListableCommand<T>
[src]

Formats the value using the given formatter.

impl<T: PartialEq> PartialEq for ListableCommand<T>
[src]

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

This method tests for !=.

impl<T: Eq> Eq for ListableCommand<T>
[src]

impl<T: Clone> Clone for ListableCommand<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more