pub struct DiskANNMemorySource { /* private fields */ }Trait Implementations§
Source§impl Clone for DiskANNMemorySource
impl Clone for DiskANNMemorySource
Source§impl DiskANNPageSource for DiskANNMemorySource
impl DiskANNPageSource for DiskANNMemorySource
fn generation(&self) -> DiskANNGeneration
fn capabilities(&self) -> DiskANNReadCapabilities
Source§fn read_record(
&self,
key: DiskANNRecordKey,
max_bytes: usize,
control: &StorageReadControl,
visit: &mut DiskANNRecordVisitor<'_>,
) -> StorageBackendResult<()>
fn read_record( &self, key: DiskANNRecordKey, max_bytes: usize, control: &StorageReadControl, visit: &mut DiskANNRecordVisitor<'_>, ) -> StorageBackendResult<()>
Visit exactly one record. Check the byte limit before materializing provider-owned bytes; absence is an error.
Source§fn read_graph_pages(
&self,
pages: &[u64],
control: &StorageReadControl,
visit: &mut DiskANNPageVisitor<'_>,
) -> StorageBackendResult<()>
fn read_graph_pages( &self, pages: &[u64], control: &StorageReadControl, visit: &mut DiskANNPageVisitor<'_>, ) -> StorageBackendResult<()>
Visit every requested unique page once, in any completion order. Missing, extra and repeated completions are errors.
Auto Trait Implementations§
impl Freeze for DiskANNMemorySource
impl RefUnwindSafe for DiskANNMemorySource
impl Send for DiskANNMemorySource
impl Sync for DiskANNMemorySource
impl Unpin for DiskANNMemorySource
impl UnsafeUnpin for DiskANNMemorySource
impl UnwindSafe for DiskANNMemorySource
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