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

pub struct WriteException {
    pub write_concern_error: Option<WriteConcernError>,
    pub write_error: Option<WriteError>,
    pub message: String,
}

The error type for Write-related MongoDB operations.

Fields

Methods

impl WriteException
[src]

[src]

Returns a new WriteException containing the given errors.

[src]

Downgrades a BulkWriteException into a WriteException, retrieving the last write error to emulate the behavior of continue_on_error.

[src]

Validates a single-write result.

Trait Implementations

impl Debug for WriteException
[src]

[src]

Formats the value using the given formatter.

impl Clone for WriteException
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Error for WriteException
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl Display for WriteException
[src]

[src]

Formats the value using the given formatter. Read more