Struct mongodb::ClientInner[][src]

pub struct ClientInner {
    pub read_preference: ReadPreference,
    pub write_concern: WriteConcern,
    // some fields omitted
}

Interfaces with a MongoDB server or replica set.

Fields

Indicates how a server should be selected for read operations.

Describes the guarantees provided by MongoDB when reporting the success of a write operation.

Auto Trait Implementations

impl Send for ClientInner

impl Sync for ClientInner