pub enum FilterError {
MissingEquals,
NoOperator(String),
NoField(String),
Instantiation(Error),
}
Available on crate feature
filter
only.Expand description
Errors produced by filtering.
Variants§
MissingEquals
There is no equals sign in the query string.
NoOperator(String)
An operator was requested that isn’t defined for the target type.
NoField(String)
The requested field is not present on the target type.
Instantiation(Error)
Failed to instantiate a Filter
.
Trait Implementations§
Source§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
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 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