pub struct AsyncAcceleratorSet { /* private fields */ }Expand description
Source-bound async accelerator capabilities available to one logical search.
Implementations§
Source§impl AsyncAcceleratorSet
impl AsyncAcceleratorSet
pub fn empty() -> Self
pub fn with_hnsw( self, source: &ProximityTree, index: AsyncHnswIndex, ) -> Result<Self, Error>
pub fn with_pq( self, source: &ProximityTree, index: AsyncProductQuantizer, ) -> Result<Self, Error>
pub fn with_composite( self, source: &ProximityTree, index: AsyncCompositeAccelerator, ) -> Result<Self, Error>
Trait Implementations§
Source§impl Clone for AsyncAcceleratorSet
impl Clone for AsyncAcceleratorSet
Source§fn clone(&self) -> AsyncAcceleratorSet
fn clone(&self) -> AsyncAcceleratorSet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AsyncAcceleratorSet
impl Default for AsyncAcceleratorSet
Source§fn default() -> AsyncAcceleratorSet
fn default() -> AsyncAcceleratorSet
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AsyncAcceleratorSet
impl RefUnwindSafe for AsyncAcceleratorSet
impl Send for AsyncAcceleratorSet
impl Sync for AsyncAcceleratorSet
impl Unpin for AsyncAcceleratorSet
impl UnsafeUnpin for AsyncAcceleratorSet
impl UnwindSafe for AsyncAcceleratorSet
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> 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