Enum mentat_cli::command_parser::Command [] [src]

pub enum Command {
    Cache(StringCacheDirection),
    Close,
    Exit,
    Help(Vec<String>),
    Import(String),
    Open(String),
    OpenEmpty(String),
    OpenEncrypted(StringString),
    OpenEmptyEncrypted(StringString),
    Query(String),
    QueryExplain(String),
    QueryPrepared(String),
    Schema,
    Sync(Vec<String>),
    Timer(bool),
    Transact(String),
}

Variants

Methods

impl Command
[src]

is_complete returns true if no more input is required for the command to be successfully executed. false is returned if the command is not considered valid. Defaults to true for all commands except Query and Transact. TODO: for query and transact commands, they will be considered complete if a parsable EDN has been entered as an argument

Trait Implementations

impl Clone for Command
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Command
[src]

Formats the value using the given formatter. Read more

impl Eq for Command
[src]

impl PartialEq for Command
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Command

impl Sync for Command