pub enum EngineError {
UnknownField {
field: String,
table: String,
},
DuplicateField {
field: String,
query: String,
},
BadLiteral {
field: String,
criteria: String,
detail: String,
},
}Expand description
Engine errors: whitelist violations and coercion failures.
Variants§
UnknownField
A criteria column is not a field of the source table.
DuplicateField
The query grid lists the same source field more than once among its shown columns — the by-name projection forbids ambiguity (step 42.3, item L22).
BadLiteral
A criteria literal does not fit the column’s kind.
Trait Implementations§
Source§impl Clone for EngineError
impl Clone for EngineError
Source§impl Debug for EngineError
impl Debug for EngineError
Source§impl Display for EngineError
impl Display for EngineError
impl Eq for EngineError
Source§impl Error for EngineError
impl Error for EngineError
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 PartialEq for EngineError
impl PartialEq for EngineError
impl StructuralPartialEq for EngineError
Auto Trait Implementations§
impl Forget for EngineError
impl Freeze for EngineError
impl Move for EngineError
impl RefUnwindSafe for EngineError
impl Send for EngineError
impl Sync for EngineError
impl Unpin for EngineError
impl UnsafeUnpin for EngineError
impl UnwindSafe for EngineError
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