Enum conch_parser::ast::Command
[−]
[src]
pub enum Command<T> {
Job(T),
List(T),
}Represents any valid shell command.
Variants
Job(T)A command that runs asynchronously, that is, the shell will not wait
for it to exit before running the next command, e.g. foo &.
List(T)A list of and/or commands, e.g. foo && bar || baz.
Trait Implementations
impl<T: Debug> Debug for Command<T>[src]
impl<T: PartialEq> PartialEq for Command<T>[src]
fn eq(&self, __arg_0: &Command<T>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Command<T>) -> bool
This method tests for !=.
impl<T: Eq> Eq for Command<T>[src]
impl<T: Clone> Clone for Command<T>[src]
fn clone(&self) -> Command<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