Enum gluesql_core::executor::EvaluateError
source · [−]pub enum EvaluateError {
Show 17 variants
NestedSelectRowNotFound,
LiteralAddOnNonNumeric,
FunctionRequiresStringValue(String),
FunctionRequiresIntegerValue(String),
FunctionRequiresFloatOrIntegerValue(String),
FunctionRequiresUSizeValue(String),
FunctionRequiresFloatValue(String),
ExtractFormatNotMatched(String),
FunctionRequiresMapValue(String),
ValueNotFound(String),
BooleanTypeRequired(String),
UnsupportedStatelessExpr(Expr),
UnreachableEmptyContext,
UnreachableEmptyAggregateValue(Aggregate),
DivisorShouldNotBeZero,
NegativeSubstrLenNotAllowed,
MoreThanOneRowReturned,
}Variants
NestedSelectRowNotFound
LiteralAddOnNonNumeric
FunctionRequiresStringValue(String)
FunctionRequiresIntegerValue(String)
FunctionRequiresFloatOrIntegerValue(String)
FunctionRequiresUSizeValue(String)
FunctionRequiresFloatValue(String)
ExtractFormatNotMatched(String)
FunctionRequiresMapValue(String)
ValueNotFound(String)
BooleanTypeRequired(String)
UnsupportedStatelessExpr(Expr)
UnreachableEmptyContext
UnreachableEmptyAggregateValue(Aggregate)
DivisorShouldNotBeZero
NegativeSubstrLenNotAllowed
MoreThanOneRowReturned
Trait Implementations
sourceimpl Debug for EvaluateError
impl Debug for EvaluateError
sourceimpl Display for EvaluateError
impl Display for EvaluateError
sourceimpl Error for EvaluateError
impl Error for EvaluateError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<EvaluateError> for Error
impl From<EvaluateError> for Error
sourcefn from(source: EvaluateError) -> Self
fn from(source: EvaluateError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<EvaluateError> for EvaluateError
impl PartialEq<EvaluateError> for EvaluateError
sourcefn eq(&self, other: &EvaluateError) -> bool
fn eq(&self, other: &EvaluateError) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl Serialize for EvaluateError
impl Serialize for EvaluateError
impl StructuralPartialEq for EvaluateError
Auto Trait Implementations
impl RefUnwindSafe for EvaluateError
impl Send for EvaluateError
impl Sync for EvaluateError
impl Unpin for EvaluateError
impl UnwindSafe for EvaluateError
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