pub enum BuildError {
UnknownColumn(ColumnId),
DuplicateColumn(ColumnId),
MissingRequiredColumn(ColumnId),
TimestampProvidedAsInput,
TypeMismatch {
column: ColumnId,
expected: ColumnType,
actual: ColumnType,
},
TooManyRows,
Dictionary(DictionaryError),
}Expand description
A typed failure that leaves the logical row count unchanged.
Variants§
UnknownColumn(ColumnId)
An input referred to an identifier absent from the schema.
DuplicateColumn(ColumnId)
The same column appeared twice in one row.
MissingRequiredColumn(ColumnId)
A non-nullable column was omitted.
TimestampProvidedAsInput
The timestamp must use the dedicated append argument.
TypeMismatch
A value did not match its declared physical type.
TooManyRows
The segment reached the supported u32 document-id space.
Dictionary(DictionaryError)
Dictionary or string side-array construction failed.
Trait Implementations§
Source§impl Clone for BuildError
impl Clone for BuildError
Source§impl Debug for BuildError
impl Debug for BuildError
Source§impl Display for BuildError
impl Display for BuildError
impl Eq for BuildError
Source§impl Error for BuildError
impl Error for BuildError
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<DictionaryError> for BuildError
impl From<DictionaryError> for BuildError
Source§fn from(error: DictionaryError) -> Self
fn from(error: DictionaryError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BuildError
impl PartialEq for BuildError
impl StructuralPartialEq for BuildError
Auto Trait Implementations§
impl Freeze for BuildError
impl RefUnwindSafe for BuildError
impl Send for BuildError
impl Sync for BuildError
impl Unpin for BuildError
impl UnsafeUnpin for BuildError
impl UnwindSafe for BuildError
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