Enum mongodb::CommandType
[−]
[src]
pub enum CommandType { Aggregate, BuildInfo, Count, CreateCollection, CreateIndexes, CreateUser, DeleteMany, DeleteOne, Distinct, DropAllUsers, DropCollection, DropDatabase, DropIndexes, DropUser, Find, FindOneAndDelete, FindOneAndReplace, FindOneAndUpdate, GetUser, GetUsers, InsertMany, InsertOne, IsMaster, ListCollections, ListDatabases, ListIndexes, Suppressed, UpdateMany, UpdateOne, }
Executable command types that can be monitored by the driver.
Variants
Aggregate
BuildInfo
Count
CreateCollection
CreateIndexes
CreateUser
DeleteMany
DeleteOne
Distinct
DropAllUsers
DropCollection
DropDatabase
DropIndexes
DropUser
Find
FindOneAndDelete
FindOneAndReplace
FindOneAndUpdate
GetUser
GetUsers
InsertMany
InsertOne
IsMaster
ListCollections
ListDatabases
ListIndexes
Suppressed
UpdateMany
UpdateOne
Methods
impl CommandType
[src]
fn to_str(&self) -> &str
fn is_write_command(&self) -> bool
Trait Implementations
impl PartialEq for CommandType
[src]
fn eq(&self, __arg_0: &CommandType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for CommandType
[src]
impl Clone for CommandType
[src]
fn clone(&self) -> CommandType
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