pub struct IndexingContext<'fid, 'indexer, 'index, MSP>{
pub index: &'index Index,
pub db_fields_ids_map: &'indexer FieldsIdsMap,
pub new_fields_ids_map: &'fid RwLock<FieldIdMapWithMetadata>,
pub doc_allocs: &'indexer ThreadLocal<FullySend<Cell<Bump>>>,
pub fields_ids_map_store: &'indexer ThreadLocal<FullySend<RefCell<GlobalFieldsIdsMap<'fid>>>>,
pub must_stop_processing: &'indexer MSP,
pub progress: &'indexer Progress,
pub grenad_parameters: &'indexer GrenadParameters,
}Fields§
§index: &'index Index§db_fields_ids_map: &'indexer FieldsIdsMap§new_fields_ids_map: &'fid RwLock<FieldIdMapWithMetadata>§doc_allocs: &'indexer ThreadLocal<FullySend<Cell<Bump>>>§fields_ids_map_store: &'indexer ThreadLocal<FullySend<RefCell<GlobalFieldsIdsMap<'fid>>>>§must_stop_processing: &'indexer MSP§progress: &'indexer Progress§grenad_parameters: &'indexer GrenadParametersTrait Implementations§
Source§impl<MSP> Clone for IndexingContext<'_, '_, '_, MSP>
impl<MSP> Clone for IndexingContext<'_, '_, '_, MSP>
impl<MSP> Copy for IndexingContext<'_, '_, '_, MSP>
Auto Trait Implementations§
impl<'fid, 'indexer, 'index, MSP> Freeze for IndexingContext<'fid, 'indexer, 'index, MSP>
impl<'fid, 'indexer, 'index, MSP> RefUnwindSafe for IndexingContext<'fid, 'indexer, 'index, MSP>where
MSP: RefUnwindSafe,
impl<'fid, 'indexer, 'index, MSP> Send for IndexingContext<'fid, 'indexer, 'index, MSP>
impl<'fid, 'indexer, 'index, MSP> Sync for IndexingContext<'fid, 'indexer, 'index, MSP>
impl<'fid, 'indexer, 'index, MSP> Unpin for IndexingContext<'fid, 'indexer, 'index, MSP>
impl<'fid, 'indexer, 'index, MSP> UnwindSafe for IndexingContext<'fid, 'indexer, 'index, MSP>where
MSP: RefUnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more