pub enum SearchEngineError {
UnknownAttribute,
MismatchedQueryType,
UnsupportedQuery,
}
Expand description
Enum of all possible error types that the attribute search engine can throw by itself.
Variants§
UnknownAttribute
Will be thrown if an unknown attribute is requested, for example when inserting or by a Query.
MismatchedQueryType
A Query value cannot be processed by a specific search index because the string can’t be converted to the expected type.
UnsupportedQuery
A Query cannot be processed because it is not supported.
Trait Implementations§
Source§impl Debug for SearchEngineError
impl Debug for SearchEngineError
Source§impl Display for SearchEngineError
impl Display for SearchEngineError
Source§impl Error for SearchEngineError
impl Error for SearchEngineError
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 SearchEngineError
impl PartialEq for SearchEngineError
impl StructuralPartialEq for SearchEngineError
Auto Trait Implementations§
impl Freeze for SearchEngineError
impl RefUnwindSafe for SearchEngineError
impl Send for SearchEngineError
impl Sync for SearchEngineError
impl Unpin for SearchEngineError
impl UnwindSafe for SearchEngineError
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