Struct bonsaidb_core::schema::InsertError
source · [−]pub struct InsertError<T> {
pub contents: T,
pub error: Error,
}Expand description
An error from inserting a CollectionDocument.
Fields
contents: TThe original value being inserted.
error: ErrorThe error that occurred while inserting.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<T> RefUnwindSafe for InsertError<T> where
T: RefUnwindSafe,
impl<T> Send for InsertError<T> where
T: Send,
impl<T> Sync for InsertError<T> where
T: Sync,
impl<T> Unpin for InsertError<T> where
T: Unpin,
impl<T> UnwindSafe for InsertError<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more