pub enum MaterializationError {
RankOutOfRange {
rank: usize,
returned: usize,
},
MissingIdentity {
row_id: GlobalRowId,
},
MissingText {
row_id: GlobalRowId,
document: DocumentVersion,
},
MissingSource {
row_id: GlobalRowId,
},
InvalidLexicalSource {
source: u32,
},
MissingFusedIdentity {
document: DocId,
},
IdentityMismatch {
row_id: GlobalRowId,
expected: DocumentVersion,
actual: Option<DocumentVersion>,
},
AllocationFailed {
bytes: usize,
},
ArithmeticOverflow,
Query(QueryError),
Storage(StoreError),
}Expand description
A ranked row could not be materialized faithfully.
Variants§
RankOutOfRange
The caller requested a rank outside the returned list.
Fields
MissingIdentity
The ranked row has no application identity.
Fields
row_id: GlobalRowIdPhysical row lacking an application identity.
MissingText
The ranked document has no stored text.
Fields
row_id: GlobalRowIdPhysical row lacking stored text.
document: DocumentVersionRanked application identity.
MissingSource
The ranked physical source is absent from the admitted snapshot.
Fields
row_id: GlobalRowIdPhysical row whose source is absent.
InvalidLexicalSource
A lexical source ordinal has no physical source in the admitted assembly.
MissingFusedIdentity
A fused application key has no retained source identity.
IdentityMismatch
The physical row does not contain the version that was ranked.
Fields
row_id: GlobalRowIdPhysical row that failed identity validation.
expected: DocumentVersionApplication identity retained during ranking.
actual: Option<DocumentVersion>Application identity found at the physical row.
AllocationFailed
The result could not reserve its owned text buffer.
ArithmeticOverflow
A materialization work count overflowed.
Query(QueryError)
Cancellation or deadline prevented complete materialization.
Storage(StoreError)
Storage validation or lifecycle failure.
Trait Implementations§
Source§impl Debug for MaterializationError
impl Debug for MaterializationError
Source§impl Display for MaterializationError
impl Display for MaterializationError
Source§impl Error for MaterializationError
impl Error for MaterializationError
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()