pub enum MaterializedIndexError {
Show 23 variants
Database(DatabaseError),
Transaction(TransactionError),
Table(TableError),
Storage(StorageError),
Commit(CommitError),
Durability(SetDurabilityError),
Mutation(MutationError),
MalformedCheckpoint,
Diverged {
sequence: u64,
},
IdempotencyDiverged {
transaction_id: Uuid,
},
MalformedIdempotencyKey,
Vector(VectorValueError),
UnknownVectorSpace {
name: String,
},
VectorSpaceConflict {
name: String,
},
MalformedVectorIndex,
Lexical(LexicalError),
LexicalIndexConflict {
name: String,
},
UnknownLexicalIndex {
name: String,
},
MalformedLexicalIndex,
MalformedLexicalProjection,
Document(DocumentError),
VectorCandidateBudgetExceeded {
maximum: u64,
},
VectorByteBudgetExceeded {
maximum: u64,
},
}Expand description
Failure while opening, verifying, or updating the rebuildable redb index.
Variants§
Database(DatabaseError)
redb could not open or create its database file.
Transaction(TransactionError)
redb could not begin a transaction.
Table(TableError)
A redb table could not be opened.
Storage(StorageError)
A redb table read or write failed.
Commit(CommitError)
A redb transaction could not be committed.
Durability(SetDurabilityError)
A redb durability mode could not be selected.
Mutation(MutationError)
A committed operation is not a valid canonical mutation.
MalformedCheckpoint
Stored index metadata has an invalid length or combination.
Diverged
The index checkpoint does not identify a commit in the verified log.
IdempotencyDiverged
A persisted idempotency receipt is malformed or conflicts with the log.
MalformedIdempotencyKey
A persisted idempotency key is not a UUID.
Vector(VectorValueError)
A canonical shared vector value is invalid.
UnknownVectorSpace
A vector mutation refers to a space that has not been defined.
VectorSpaceConflict
An existing immutable vector-space definition differs.
MalformedVectorIndex
Persisted vector-index bytes are not canonical.
Lexical(LexicalError)
A canonical lexical definition is invalid.
LexicalIndexConflict
An existing immutable lexical-index definition differs.
UnknownLexicalIndex
A lexical retrieval refers to an index that has not been defined.
MalformedLexicalIndex
Persisted lexical-index bytes are not canonical.
MalformedLexicalProjection
Persisted lexical postings/statistics are not canonical.
Document(DocumentError)
A structured document cannot be decoded while maintaining a lexical projection.
VectorCandidateBudgetExceeded
Reading candidates exceeded the caller’s count budget.
VectorByteBudgetExceeded
Reading candidates exceeded the caller’s logical key/vector byte budget.
Trait Implementations§
Source§impl Debug for MaterializedIndexError
impl Debug for MaterializedIndexError
Source§impl Display for MaterializedIndexError
impl Display for MaterializedIndexError
Source§impl Error for MaterializedIndexError
impl Error for MaterializedIndexError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()