pub enum LexicalFilterError {
SegmentCount {
expected: usize,
actual: usize,
},
RowOutOfRange {
segment: usize,
row: u32,
row_count: u32,
},
Index(IndexError),
}Expand description
Typed lexical filter planning or scoring failure.
Variants§
SegmentCount
One bitmap per lexical segment is required.
RowOutOfRange
An allow-list row exceeded its segment’s dense row space.
Index(IndexError)
The lexical scorer rejected the index or query.
Trait Implementations§
Source§impl Debug for LexicalFilterError
impl Debug for LexicalFilterError
Source§impl Display for LexicalFilterError
impl Display for LexicalFilterError
Source§impl Error for LexicalFilterError
impl Error for LexicalFilterError
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 From<IndexError> for LexicalFilterError
impl From<IndexError> for LexicalFilterError
Source§fn from(error: IndexError) -> Self
fn from(error: IndexError) -> Self
Converts to this type from the input type.
Source§impl From<LexicalFilterError> for StoreLexicalError
impl From<LexicalFilterError> for StoreLexicalError
Source§fn from(error: LexicalFilterError) -> Self
fn from(error: LexicalFilterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LexicalFilterError
impl RefUnwindSafe for LexicalFilterError
impl Send for LexicalFilterError
impl Sync for LexicalFilterError
impl Unpin for LexicalFilterError
impl UnsafeUnpin for LexicalFilterError
impl UnwindSafe for LexicalFilterError
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