pub enum EngineError {
Storage(StorageError),
Backup(BackupError),
Document(DocumentError),
Query(QueryError),
Retrieval(RetrievalError),
ExactRetrieval(ExactRetrievalError),
Proof(ProofError),
RetrievalProof(RetrievalProofError),
Lexical(LexicalError),
Hybrid(HybridError),
DuplicateDocumentKey,
EmptyBatch,
}Expand description
Failure while operating the embeddable Hyphae facade.
Variants§
Storage(StorageError)
Durable embedded storage failed.
Backup(BackupError)
Portable backup creation, verification, or restore failed.
Document(DocumentError)
Canonical document encoding or verification failed.
Query(QueryError)
Structured query validation or execution failed.
Retrieval(RetrievalError)
Exact semantic retrieval failed.
ExactRetrieval(ExactRetrievalError)
Durable exact retrieval failed.
Proof(ProofError)
Canonical result-proof creation failed.
RetrievalProof(RetrievalProofError)
Canonical retrieval-proof creation failed.
Lexical(LexicalError)
Provider-free lexical retrieval failed.
Hybrid(HybridError)
Deterministic hybrid fusion failed.
DuplicateDocumentKey
One atomic document batch repeats a key.
EmptyBatch
An atomic batch must contain at least one item.
Trait Implementations§
Source§impl Debug for EngineError
impl Debug for EngineError
Source§impl Display for EngineError
impl Display for EngineError
Source§impl Error for EngineError
impl Error for EngineError
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<BackupError> for EngineError
impl From<BackupError> for EngineError
Source§fn from(source: BackupError) -> Self
fn from(source: BackupError) -> Self
Converts to this type from the input type.
Source§impl From<DocumentError> for EngineError
impl From<DocumentError> for EngineError
Source§fn from(source: DocumentError) -> Self
fn from(source: DocumentError) -> Self
Converts to this type from the input type.
Source§impl From<EngineError> for BoundedEngineQueryError
impl From<EngineError> for BoundedEngineQueryError
Source§fn from(source: EngineError) -> Self
fn from(source: EngineError) -> Self
Converts to this type from the input type.
Source§impl From<ExactRetrievalError> for EngineError
impl From<ExactRetrievalError> for EngineError
Source§fn from(source: ExactRetrievalError) -> Self
fn from(source: ExactRetrievalError) -> Self
Converts to this type from the input type.
Source§impl From<HybridError> for EngineError
impl From<HybridError> for EngineError
Source§fn from(source: HybridError) -> Self
fn from(source: HybridError) -> Self
Converts to this type from the input type.
Source§impl From<LexicalError> for EngineError
impl From<LexicalError> for EngineError
Source§fn from(source: LexicalError) -> Self
fn from(source: LexicalError) -> Self
Converts to this type from the input type.
Source§impl From<ProofError> for EngineError
impl From<ProofError> for EngineError
Source§fn from(source: ProofError) -> Self
fn from(source: ProofError) -> Self
Converts to this type from the input type.
Source§impl From<QueryError> for EngineError
impl From<QueryError> for EngineError
Source§fn from(source: QueryError) -> Self
fn from(source: QueryError) -> Self
Converts to this type from the input type.
Source§impl From<RetrievalError> for EngineError
impl From<RetrievalError> for EngineError
Source§fn from(source: RetrievalError) -> Self
fn from(source: RetrievalError) -> Self
Converts to this type from the input type.
Source§impl From<RetrievalProofError> for EngineError
impl From<RetrievalProofError> for EngineError
Source§fn from(source: RetrievalProofError) -> Self
fn from(source: RetrievalProofError) -> Self
Converts to this type from the input type.
Source§impl From<StorageError> for EngineError
impl From<StorageError> for EngineError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for EngineError
impl !UnwindSafe for EngineError
impl Freeze for EngineError
impl Send for EngineError
impl Sync for EngineError
impl Unpin for EngineError
impl UnsafeUnpin for EngineError
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