Struct mongodb::coll::error::WriteConcernError[][src]

pub struct WriteConcernError {
    pub code: i32,
    pub details: WriteConcern,
    pub message: String,
}

The error struct for a write-concern related error.

Fields

Methods

impl WriteConcernError
[src]

Returns a new WriteConcernError containing the provided error information.

Parses a Bson document into a WriteConcernError with the provided write concern.

Trait Implementations

impl Debug for WriteConcernError
[src]

Formats the value using the given formatter. Read more

impl Clone for WriteConcernError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations