pub enum QuerySqlError {
UnknownField {
field: String,
},
MissingValue {
field: String,
operator: String,
},
NotAList {
field: String,
operator: String,
},
}Variants§
UnknownField
A field name reaches the statement as an identifier, so an unrecognised one is refused rather than quoted and hoped for.
MissingValue
NotAList
In / NotIn need a list to expand into placeholders.
Trait Implementations§
Source§impl Debug for QuerySqlError
impl Debug for QuerySqlError
Source§impl Display for QuerySqlError
impl Display for QuerySqlError
Source§impl Error for QuerySqlError
impl Error for QuerySqlError
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 QuerySqlError
impl PartialEq for QuerySqlError
impl StructuralPartialEq for QuerySqlError
Auto Trait Implementations§
impl Freeze for QuerySqlError
impl RefUnwindSafe for QuerySqlError
impl Send for QuerySqlError
impl Sync for QuerySqlError
impl Unpin for QuerySqlError
impl UnsafeUnpin for QuerySqlError
impl UnwindSafe for QuerySqlError
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