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

[src]

Returns a new WriteError containing the provided error information.

[src]

Parses a Bson document into a WriteError.

Trait Implementations

impl Debug for WriteError
[src]

[src]

Formats the value using the given formatter.

impl Clone for WriteError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more