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
read_preference: ReadPreference
Indicates how a server should be selected for read operations.
write_concern: WriteConcern
Describes the guarantees provided by MongoDB when reporting the success of a write operation.
Auto Trait Implementations
impl Send for ClientInner
impl Send for ClientInnerimpl Sync for ClientInner
impl Sync for ClientInner