pub struct DiskANNBuildCapture<S> { /* private fields */ }Expand description
Encrypted build input and the exact committed/private source used to produce it. Moving the source keeps its original leases and controls alive through construction.
Implementations§
Source§impl<S: DiskANNCanonicalRead> DiskANNBuildCapture<S>
impl<S: DiskANNCanonicalRead> DiskANNBuildCapture<S>
pub fn capture( generation: DiskANNGeneration, source: S, directory: &Path, temporary: &DiskANNTemporaryBudget, control: &StorageReadControl, ) -> StorageBackendResult<Self>
pub fn input(&self) -> &DiskANNBuildInput
Sourcepub fn write_generation(
&self,
graph: &DiskANNMergedGraph,
options: DiskANNGenerationOptions,
sink: &mut dyn DiskANNBuildSink,
) -> StorageBackendResult<DiskANNManifest>
pub fn write_generation( &self, graph: &DiskANNMergedGraph, options: DiskANNGenerationOptions, sink: &mut dyn DiskANNBuildSink, ) -> StorageBackendResult<DiskANNManifest>
Write graph/side artifacts and every captured document origin to the same unpublished generation. Sealing and publication remain explicit owner operations.
Sourcepub fn finish(
self,
manifest: &DiskANNManifest,
control: &StorageReadControl,
) -> StorageBackendResult<DiskANNCanonicalCoverage<S>>
pub fn finish( self, manifest: &DiskANNManifest, control: &StorageReadControl, ) -> StorageBackendResult<DiskANNCanonicalCoverage<S>>
Bind the completed manifest to this capture and release temporary input. Physical sealing, provider/index binding and atomic publication still belong to their storage owners.
Auto Trait Implementations§
impl<S> !RefUnwindSafe for DiskANNBuildCapture<S>
impl<S> !UnwindSafe for DiskANNBuildCapture<S>
impl<S> Freeze for DiskANNBuildCapture<S>where
S: Freeze,
impl<S> Send for DiskANNBuildCapture<S>where
S: Send,
impl<S> Sync for DiskANNBuildCapture<S>where
S: Sync,
impl<S> Unpin for DiskANNBuildCapture<S>where
S: Unpin,
impl<S> UnsafeUnpin for DiskANNBuildCapture<S>where
S: UnsafeUnpin,
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