Enum conch_parser::ast::Command [] [src]

pub enum Command<T> {
    Job(T),
    List(T),
}

Represents any valid shell command.

Variants

A command that runs asynchronously, that is, the shell will not wait for it to exit before running the next command, e.g. foo &.

A list of and/or commands, e.g. foo && bar || baz.

Trait Implementations

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

Formats the value using the given formatter.

impl<T: PartialEq> PartialEq for Command<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 Command<T>
[src]

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more