Struct mungos::error::BulkWriteFailure
source · [−]#[non_exhaustive]pub struct BulkWriteFailure {
pub write_errors: Option<Vec<BulkWriteError, Global>>,
pub write_concern_error: Option<WriteConcernError>,
/* private fields */
}
Expand description
The set of errors that occurred during a write operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.write_errors: Option<Vec<BulkWriteError, Global>>
The error(s) that occurred on account of a non write concern failure.
write_concern_error: Option<WriteConcernError>
The error that occurred on account of write concern failure.
Trait Implementations
sourceimpl Clone for BulkWriteFailure
impl Clone for BulkWriteFailure
sourcefn clone(&self) -> BulkWriteFailure
fn clone(&self) -> BulkWriteFailure
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BulkWriteFailure
impl Debug for BulkWriteFailure
sourceimpl<'de> Deserialize<'de> for BulkWriteFailure
impl<'de> Deserialize<'de> for BulkWriteFailure
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<BulkWriteFailure, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<BulkWriteFailure, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for BulkWriteFailure
impl Send for BulkWriteFailure
impl Sync for BulkWriteFailure
impl Unpin for BulkWriteFailure
impl UnwindSafe for BulkWriteFailure
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more