pub enum PlanError {
UnknownColumn(ColumnId),
TypeMismatch {
column: ColumnId,
expected: ColumnType,
actual: ColumnType,
},
RangeRequiresNumericColumn(ColumnId),
RowCountMismatch {
columns: u32,
alive: u32,
},
}Expand description
A typed planning-time predicate rejection.
Variants§
UnknownColumn(ColumnId)
The predicate named a column absent from the collection schema.
TypeMismatch
A predicate value disagreed with its declared column type.
RangeRequiresNumericColumn(ColumnId)
A range was attached to a non-numeric column.
RowCountMismatch
Metadata and alive arrays described different row spaces.
Trait Implementations§
impl Eq for PlanError
Source§impl Error for PlanError
impl Error for PlanError
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 From<PlanError> for FilteredSearchError
impl From<PlanError> for FilteredSearchError
impl StructuralPartialEq for PlanError
Auto Trait Implementations§
impl Freeze for PlanError
impl RefUnwindSafe for PlanError
impl Send for PlanError
impl Sync for PlanError
impl Unpin for PlanError
impl UnsafeUnpin for PlanError
impl UnwindSafe for PlanError
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