pub struct CreatedIndexes {
pub set: IndexSet,
pub checkpoint_store: Option<Arc<dyn CheckpointStore>>,
}Expand description
Result of IndexBackendPlugin::create_indexes.
Bundles the IndexSet together with an optional CheckpointStore
that shares the same underlying session state. Persistent backends return
Some(store); volatile (in-memory) backends return None.
The store’s stage_checkpoint calls land in the same database transaction
as index updates because both are derived from the same SessionControl /
session state instance — that is why the plugin returns them together
rather than via two separate calls.
Fields§
§set: IndexSetThe set of indexes for the query.
checkpoint_store: Option<Arc<dyn CheckpointStore>>Atomic checkpoint store paired with the set’s session state.
None for volatile backends (no persistent storage to checkpoint into).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CreatedIndexes
impl !RefUnwindSafe for CreatedIndexes
impl Send for CreatedIndexes
impl Sync for CreatedIndexes
impl Unpin for CreatedIndexes
impl UnsafeUnpin for CreatedIndexes
impl !UnwindSafe for CreatedIndexes
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