Skip to main content

DiskANNBuildCapture

Struct DiskANNBuildCapture 

Source
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>

Source

pub fn capture( generation: DiskANNGeneration, source: S, directory: &Path, temporary: &DiskANNTemporaryBudget, control: &StorageReadControl, ) -> StorageBackendResult<Self>

Source

pub fn input(&self) -> &DiskANNBuildInput

Source

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.

Source

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.