pub struct BulkInsertError;Expand description
Bulk insert specific error codes and messages.
Implementations§
Source§impl BulkInsertError
impl BulkInsertError
Sourcepub fn column_not_found(fragment: Fragment, source: &str, column: &str) -> Error
pub fn column_not_found(fragment: Fragment, source: &str, column: &str) -> Error
Error when a column name is not found in the target schema.
Sourcepub fn type_mismatch(
fragment: Fragment,
column: &str,
expected: &str,
actual: &str,
) -> Error
pub fn type_mismatch( fragment: Fragment, column: &str, expected: &str, actual: &str, ) -> Error
Error when there’s a type mismatch between the value and column.
Sourcepub fn too_many_values(
fragment: Fragment,
expected: usize,
actual: usize,
) -> Error
pub fn too_many_values( fragment: Fragment, expected: usize, actual: usize, ) -> Error
Error when more values are provided than columns exist.
Sourcepub fn namespace_not_found(fragment: Fragment, namespace: &str) -> Error
pub fn namespace_not_found(fragment: Fragment, namespace: &str) -> Error
Error when the namespace is not found.
Auto Trait Implementations§
impl Freeze for BulkInsertError
impl RefUnwindSafe for BulkInsertError
impl Send for BulkInsertError
impl Sync for BulkInsertError
impl Unpin for BulkInsertError
impl UnwindSafe for BulkInsertError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more