Enum mongodb::CommandType
[−]
[src]
pub enum CommandType { Aggregate, 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
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 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