mongodb 0.1.7

An experimental MongoDB driver written by MongoDB interns.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[macro_use]
mod macros;

pub mod crud;
pub mod eq;
pub mod sdam;
pub mod server_selection;

use rustc_serialize::json::Object;

pub trait FromJson: Sized {
    fn from_json(object: &Object) -> Self;
}

pub trait FromJsonResult: Sized {
    fn from_json(object: &Object) -> Result<Self, String>;
}