pub enum IngestError {
Store(StoreError),
EmptyBatch,
EpochMismatch(EpochMismatch),
EpochUndeclared,
EpochUnstamped,
StaleRevision {
doc_id: DocId,
current: Revision,
attempted: Revision,
},
Vector(QuantError),
Lexical(IndexError),
Tokenizer(TokenizerError),
Columns(BuildError),
Payload(PayloadError),
}Expand description
Typed ingest rejection that leaves active state unchanged.
Variants§
Store(StoreError)
Lifecycle, access-mode, budget, or synchronization failure.
EmptyBatch
The caller supplied no document mutation.
EpochMismatch(EpochMismatch)
The batch’s declared interpretation differs from the store identity.
EpochUndeclared
The store is stamped but the batch did not declare its identity.
EpochUnstamped
The batch declared an identity for an unstamped store.
StaleRevision
The attempted revision precedes the highest active or sealed revision.
Fields
Vector(QuantError)
A vector could not be quantized under the frozen Bit4 contract.
Lexical(IndexError)
The frozen analyzer or active lexical index rejected the text row.
Tokenizer(TokenizerError)
The frozen text analyzer configuration failed to compile.
Columns(BuildError)
Typed values did not satisfy the store’s declared schema.
Payload(PayloadError)
A WAL operation payload could not be encoded.
Trait Implementations§
Source§impl Debug for IngestError
impl Debug for IngestError
Source§impl Display for IngestError
impl Display for IngestError
Source§impl Error for IngestError
impl Error for IngestError
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<StoreError> for IngestError
impl From<StoreError> for IngestError
Source§fn from(error: StoreError) -> Self
fn from(error: StoreError) -> Self
Converts to this type from the input type.
Source§impl From<WalWriteError> for IngestError
impl From<WalWriteError> for IngestError
Source§fn from(error: WalWriteError) -> Self
fn from(error: WalWriteError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for IngestError
impl !UnwindSafe for IngestError
impl Freeze for IngestError
impl Send for IngestError
impl Sync for IngestError
impl Unpin for IngestError
impl UnsafeUnpin for IngestError
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