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
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)
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]
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]
impl FromStr for Command
[src]
type Err = CommandError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Command, CommandError>
Parses a string s
to return a value of this type. Read more