pub enum SearchError {
InvalidRegex {
pattern: String,
error: String,
},
IndexCorrupted,
FeatureNotAvailable {
feature: String,
},
Timeout {
duration_ms: u64,
},
}Expand description
Error types specific to search operations
Variants§
InvalidRegex
Invalid regular expression
IndexCorrupted
Search index is corrupted or outdated
FeatureNotAvailable
Feature not available (e.g., FST not compiled)
Timeout
Search operation timed out
Trait Implementations§
Source§impl Clone for SearchError
impl Clone for SearchError
Source§fn clone(&self) -> SearchError
fn clone(&self) -> SearchError
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 SearchError
impl Debug for SearchError
Source§impl PartialEq for SearchError
impl PartialEq for SearchError
impl Eq for SearchError
impl StructuralPartialEq for SearchError
Auto Trait Implementations§
impl Freeze for SearchError
impl RefUnwindSafe for SearchError
impl Send for SearchError
impl Sync for SearchError
impl Unpin for SearchError
impl UnwindSafe for SearchError
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