Struct mongodb::common::WriteConcern [] [src]

pub struct WriteConcern {
    pub w: i32,
    pub w_timeout: i32,
    pub j: bool,
    pub fsync: bool,
}

Fields

Write replication

Used in conjunction with 'w'. Propagation timeout in ms.

If true, will block until write operations have been committed to journal.

If true and server is not journaling, blocks until server has synced all data files to disk.

Methods

impl WriteConcern
[src]

Trait Implementations

impl Debug for WriteConcern
[src]

Formats the value using the given formatter.

impl Default for WriteConcern
[src]

Returns the "default value" for a type. Read more

impl Clone for WriteConcern
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for WriteConcern
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for WriteConcern
[src]