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]

Returns a new BulkWriteException containing the provided error information.

Adds a model to the vector of unprocessed models

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

Adds the data contined by another BulkWriteException to this one.

Validates a bulk write result.

Trait Implementations

impl Debug for BulkWriteException
[src]

Formats the value using the given formatter.

impl Clone for BulkWriteException
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Error for BulkWriteException
[src]

A short description of the error. Read more

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

impl Display for BulkWriteException
[src]

Formats the value using the given formatter.