Enum gluesql_core::executor::InsertError
source · pub enum InsertError {
TableNotFound(String),
LackOfRequiredColumn(String),
WrongColumnName(String),
ColumnAndValuesNotMatched,
TooManyValues,
OnlySingleValueAcceptedForSchemalessRow,
MapTypeValueRequired(String),
}Variants§
TableNotFound(String)
LackOfRequiredColumn(String)
WrongColumnName(String)
ColumnAndValuesNotMatched
TooManyValues
OnlySingleValueAcceptedForSchemalessRow
MapTypeValueRequired(String)
Trait Implementations§
source§impl Debug for InsertError
impl Debug for InsertError
source§impl Display for InsertError
impl Display for InsertError
source§impl Error for InsertError
impl Error for InsertError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<InsertError> for Error
impl From<InsertError> for Error
source§fn from(source: InsertError) -> Self
fn from(source: InsertError) -> Self
Converts to this type from the input type.
source§impl PartialEq<InsertError> for InsertError
impl PartialEq<InsertError> for InsertError
source§fn eq(&self, other: &InsertError) -> bool
fn eq(&self, other: &InsertError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for InsertError
impl Serialize for InsertError
impl Eq for InsertError
impl StructuralEq for InsertError
impl StructuralPartialEq for InsertError
Auto Trait Implementations§
impl RefUnwindSafe for InsertError
impl Send for InsertError
impl Sync for InsertError
impl Unpin for InsertError
impl UnwindSafe for InsertError
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.