pub struct MongoDb;Expand description
Classifies MongoDB OP_MSG (opcode 2013) messages by their command name,
the first key of the body section’s BSON document.
Reads (find, aggregate, count, ping, hello, …) and writes
(insert, update, delete, create, drop, …) are looked up;
commitTransaction / abortTransaction end a transaction, and a CRUD
command carrying a top-level startTransaction key begins one. Anything
else, or a malformed message, is unknown.
PHP: Utopia\Query\Classifier\MongoDB.
Trait Implementations§
Source§impl Classifier for MongoDb
impl Classifier for MongoDb
impl Copy for MongoDb
impl Eq for MongoDb
impl StructuralPartialEq for MongoDb
Auto Trait Implementations§
impl Forget for MongoDb
impl Freeze for MongoDb
impl Move for MongoDb
impl RefUnwindSafe for MongoDb
impl Send for MongoDb
impl Sync for MongoDb
impl Unpin for MongoDb
impl UnsafeUnpin for MongoDb
impl UnwindSafe for MongoDb
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.