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

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]

Returns a new WriteException containing the given errors.

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

Validates a single-write result.

Trait Implementations

impl Clone for WriteException
[src]

Performs copy-assignment from source. Read more

impl From<WriteException> for Error
[src]

impl PartialEq<WriteException> for WriteException
[src]

impl Display for WriteException
[src]

impl Debug for WriteException
[src]

impl Error for WriteException
[src]

Deprecating in 1.33.0

: replaced by Error::source, which can support downcasting

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

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

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

impl<T> Same for T

Should always be Self