Struct mon::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]

[src]

Returns a new WriteConcernError containing the provided error information.

[src]

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

Trait Implementations

impl Debug for WriteConcernError
[src]

[src]

Formats the value using the given formatter.

impl Clone for WriteConcernError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more