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

pub struct BulkWriteException {
    pub processed_requests: Vec<WriteModel>,
    pub unprocessed_requests: Vec<WriteModel>,
    pub write_errors: Vec<BulkWriteError>,
    pub write_concern_error: Option<WriteConcernError>,
    pub message: String,
}

The error struct for Bulk-Write related MongoDB operations.

Fields

Methods

impl BulkWriteException
[src]

[src]

Returns a new BulkWriteException containing the provided error information.

[src]

Adds a model to the vector of unprocessed models

[src]

Adds a vector of models to the vector of unprocessed models.

[src]

Adds the data contined by another BulkWriteException to this one.

[src]

Validates a bulk write result.

Trait Implementations

impl Debug for BulkWriteException
[src]

[src]

Formats the value using the given formatter.

impl Clone for BulkWriteException
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Error for BulkWriteException
[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 BulkWriteException
[src]

[src]

Formats the value using the given formatter. Read more