pub enum ExprExecError {
CannotExecute(Expr),
ValueBinaryOpError(ValueBinaryOpError),
ValueUnaryOpError(ValueUnaryOpError),
NoSuchColumn(BoundedString),
CorruptedData {
col_name: BoundedString,
table_name: BoundedString,
},
}
Expand description
Error in execution of an expression.
Variantsยง
CannotExecute(Expr)
ValueBinaryOpError(ValueBinaryOpError)
ValueUnaryOpError(ValueUnaryOpError)
NoSuchColumn(BoundedString)
CorruptedData
Trait Implementationsยง
Sourceยงimpl Debug for ExprExecError
impl Debug for ExprExecError
Sourceยงimpl Display for ExprExecError
impl Display for ExprExecError
Sourceยงimpl Error for ExprExecError
impl Error for ExprExecError
1.30.0 ยท Sourceยงfn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<ExprExecError> for RuntimeError
impl From<ExprExecError> for RuntimeError
Sourceยงfn from(e: ExprExecError) -> Self
fn from(e: ExprExecError) -> Self
Converts to this type from the input type.
Sourceยงimpl From<ValueBinaryOpError> for ExprExecError
impl From<ValueBinaryOpError> for ExprExecError
Sourceยงfn from(e: ValueBinaryOpError) -> Self
fn from(e: ValueBinaryOpError) -> Self
Converts to this type from the input type.
Sourceยงimpl From<ValueUnaryOpError> for ExprExecError
impl From<ValueUnaryOpError> for ExprExecError
Sourceยงfn from(e: ValueUnaryOpError) -> Self
fn from(e: ValueUnaryOpError) -> Self
Converts to this type from the input type.
Sourceยงimpl PartialEq for ExprExecError
impl PartialEq for ExprExecError
impl StructuralPartialEq for ExprExecError
Auto Trait Implementationsยง
impl Freeze for ExprExecError
impl RefUnwindSafe for ExprExecError
impl Send for ExprExecError
impl Sync for ExprExecError
impl Unpin for ExprExecError
impl UnwindSafe for ExprExecError
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