Crate mon [−] [src]
MongoDB Rust Driver
You can connent your MongoDB through mon. But the API can change at any time, please be careful to use in the production environment.
This driver currently only supports MongoDB 3.2.x, MongoDB 3.4.x and the updated version.
Installation
Dependencies
The driver is avaliable on crates.io. You can add mon package to your
Cargo.toml
:
[dependencies] mon = "0.1"
Then, import the mon library within your code.
#[macro_use] extern crate mon;
Reexports
pub use error::Error; |
pub use client::Client; |
pub use db::Database; |
pub use coll::Collection; |
Modules
apm |
Command Monitoring |
auth |
Authentication schemes. |
bson | |
client | |
coll |
Interface for collection-level operations. |
command_type | |
common | |
connstring |
Connection string parsing and options. |
cursor | |
db | |
error | |
gridfs | |
oid | |
pool | |
stream | |
topology | |
util | |
wire_protocol |
Low-level client-server communication over the MongoDB wire protocol. |
Macros
bson |
Construct a BSON value |
doc |
Construct a BSON Document |