Enum gluesql::core::executor::EvaluateError
source · pub enum EvaluateError {
Show 22 variants
ChronoFormat(ChronoFormatError),
LiteralAddOnNonNumeric,
FunctionRequiresStringValue(String),
FunctionRequiresIntegerValue(String),
FunctionRequiresFloatOrIntegerValue(String),
FunctionRequiresUSizeValue(String),
FunctionRequiresFloatValue(String),
ExtractFormatNotMatched(String),
FunctionRequiresMapValue(String),
ValueNotFound(String),
BooleanTypeRequired(String),
MapOrListTypeRequired,
UnsupportedStatelessExpr(Expr),
UnreachableEmptyContext,
UnreachableEmptyAggregateValue(Aggregate),
DivisorShouldNotBeZero,
NegativeSubstrLenNotAllowed,
MoreThanOneRowReturned,
UnsupportedExprForFormatFunction(String),
AsciiFunctionRequiresSingleCharacterValue,
NonAsciiCharacterNotAllowed,
ChrFunctionRequiresIntegerValueInRange0To255,
}Variants
ChronoFormat(ChronoFormatError)
LiteralAddOnNonNumeric
FunctionRequiresStringValue(String)
FunctionRequiresIntegerValue(String)
FunctionRequiresFloatOrIntegerValue(String)
FunctionRequiresUSizeValue(String)
FunctionRequiresFloatValue(String)
ExtractFormatNotMatched(String)
FunctionRequiresMapValue(String)
ValueNotFound(String)
BooleanTypeRequired(String)
MapOrListTypeRequired
UnsupportedStatelessExpr(Expr)
UnreachableEmptyContext
UnreachableEmptyAggregateValue(Aggregate)
DivisorShouldNotBeZero
NegativeSubstrLenNotAllowed
MoreThanOneRowReturned
UnsupportedExprForFormatFunction(String)
AsciiFunctionRequiresSingleCharacterValue
NonAsciiCharacterNotAllowed
ChrFunctionRequiresIntegerValueInRange0To255
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
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<ChronoFormatError> for EvaluateError
impl From<ChronoFormatError> for EvaluateError
sourcefn from(source: ChronoFormatError) -> EvaluateError
fn from(source: ChronoFormatError) -> EvaluateError
Converts to this type from the input type.
sourceimpl From<EvaluateError> for Error
impl From<EvaluateError> for Error
sourcefn from(source: EvaluateError) -> Error
fn from(source: EvaluateError) -> Error
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
sourceimpl Serialize for EvaluateError
impl Serialize for EvaluateError
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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