pub enum FilterError {
UnknownField(String),
TypeMismatch {
field: String,
expected: FieldKind,
got: String,
},
UnsupportedOperation(String),
InvalidExpression(String),
FieldToFieldComparison,
BareIdentifier(String),
BareLiteral,
}Variants§
UnknownField(String)
TypeMismatch
UnsupportedOperation(String)
InvalidExpression(String)
FieldToFieldComparison
BareIdentifier(String)
BareLiteral
Trait Implementations§
Source§impl Clone for FilterError
impl Clone for FilterError
Source§fn clone(&self) -> FilterError
fn clone(&self) -> FilterError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FilterError
impl Debug for FilterError
Source§impl Display for FilterError
impl Display for FilterError
Source§impl Error for FilterError
impl Error for FilterError
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()
Auto Trait Implementations§
impl Freeze for FilterError
impl RefUnwindSafe for FilterError
impl Send for FilterError
impl Sync for FilterError
impl Unpin for FilterError
impl UnsafeUnpin for FilterError
impl UnwindSafe for FilterError
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