Enum conch_parser::ast::ListableCommand
[−]
[src]
pub enum ListableCommand<T> {
Pipe(bool, Vec<T>),
Single(T),
}Commands that can be used within an and/or list.
Variants
Pipe(bool, Vec<T>)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.
Single(T)A single command not part of a pipeline.
Trait Implementations
impl<T: Debug> Debug for ListableCommand<T>[src]
impl<T: PartialEq> PartialEq for ListableCommand<T>[src]
fn eq(&self, __arg_0: &ListableCommand<T>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ListableCommand<T>) -> bool
This method tests for !=.
impl<T: Eq> Eq for ListableCommand<T>[src]
impl<T: Clone> Clone for ListableCommand<T>[src]
fn clone(&self) -> ListableCommand<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more