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

pub struct WriteError {
    pub code: i32,
    pub message: String,
}

The error struct for a write-related error.

Fields

Methods

impl WriteError
[src]

Returns a new WriteError containing the provided error information.

Parses a Bson document into a WriteError.

Trait Implementations

impl Debug for WriteError
[src]

Formats the value using the given formatter.

impl Clone for WriteError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more