Enum ruroonga_command::command::Command [] [src]

pub enum Command {
    Select,
    Load,
    Status,
    CacheLimit,
    Dump,
    DatabaseUnmap,
    Delete,
    IoFlush,
    LogLevel,
    LogPut,
    LogReopen,
    TableCreate,
    TableList,
    TableRename,
    TableRemove,
    ColumnCopy,
    ColumnCreate,
    ColumnList,
    ColumnRename,
    ColumnRemove,
    RequestCancel,
    Normalize,
    NormalizerList,
    ObjectExist,
    ObjectInspect,
    ObjectRemove,
    PluginRegister,
    PluginUnregister,
    ThreadLimit,
    Tokenize,
    TokenizerList,
    Truncate,
    Schema,
    Shutdown,
    Extension(String),
}

Variants

SelectLoadStatusCacheLimitDumpDatabaseUnmapDeleteIoFlushLogLevelLogPutLogReopenTableCreateTableListTableRenameTableRemoveColumnCopyColumnCreateColumnListColumnRenameColumnRemoveRequestCancelNormalizeNormalizerListObjectExistObjectInspectObjectRemovePluginRegisterPluginUnregisterThreadLimitTokenizeTokenizerListTruncateSchemaShutdownExtension(String)

Method extensions.

An example would be:

use std::str::FromStr;
use ruroonga_command::command::Command;
let added = Command::Extension("added-command".to_string());
assert!(added == FromStr::from_str("added-command").unwrap())

Trait Implementations

impl Debug for Command
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Eq for Command
[src]

impl PartialEq for Command
[src]

fn eq(&self, __arg_0: &Command) -> bool

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

fn ne(&self, __arg_0: &Command) -> bool

This method tests for !=.

impl Clone for Command
[src]

fn clone(&self) -> Command

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

impl AsRef<str> for Command
[src]

fn as_ref(&self) -> &str

Performs the conversion.

impl FromStr for Command
[src]

type Err = CommandError

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<CommandCommandError>

Parses a string s to return a value of this type. Read more

impl Display for Command
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.