Introduce an indexation abortion function when indexing documents

This commit is contained in:
Kerollmops
2022-10-05 17:41:07 +02:00
parent fad0de4581
commit 6603437cb1
14 changed files with 379 additions and 136 deletions

View File

@ -56,6 +56,8 @@ pub enum InternalError {
Store(#[from] MdbError),
#[error(transparent)]
Utf8(#[from] str::Utf8Error),
#[error("An indexation process was explicitly aborted.")]
AbortedIndexation,
}
#[derive(Error, Debug)]