Enum gluesql_core::executor::AlterError
source · pub enum AlterError {
TableAlreadyExists(String),
FunctionAlreadyExists(String),
FunctionNotFound(String),
TableNotFound(String),
CtasSourceTableNotFound(String),
UnsupportedDataTypeForUniqueColumn(String, DataType),
UnsupportedIndexExpr(Expr),
UnsupportedUnnamedArg,
IdentifierNotFound(Expr),
DuplicateColumnName(String),
DuplicateArgName(String),
NonDefaultArgumentFollowsDefaultArgument,
}Variants§
TableAlreadyExists(String)
FunctionAlreadyExists(String)
FunctionNotFound(String)
TableNotFound(String)
CtasSourceTableNotFound(String)
UnsupportedDataTypeForUniqueColumn(String, DataType)
UnsupportedIndexExpr(Expr)
UnsupportedUnnamedArg
IdentifierNotFound(Expr)
DuplicateColumnName(String)
DuplicateArgName(String)
NonDefaultArgumentFollowsDefaultArgument
Trait Implementations§
source§impl Debug for AlterError
impl Debug for AlterError
source§impl Display for AlterError
impl Display for AlterError
source§impl Error for AlterError
impl Error for AlterError
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<AlterError> for Error
impl From<AlterError> for Error
source§fn from(source: AlterError) -> Self
fn from(source: AlterError) -> Self
Converts to this type from the input type.
source§impl PartialEq<AlterError> for AlterError
impl PartialEq<AlterError> for AlterError
source§fn eq(&self, other: &AlterError) -> bool
fn eq(&self, other: &AlterError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AlterError
impl Serialize for AlterError
impl Eq for AlterError
impl StructuralEq for AlterError
impl StructuralPartialEq for AlterError
Auto Trait Implementations§
impl RefUnwindSafe for AlterError
impl Send for AlterError
impl Sync for AlterError
impl Unpin for AlterError
impl UnwindSafe for AlterError
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.