pub struct DiskANNRebuildPolicy { /* private fields */ }Expand description
Soft triggers for one index’s current uncovered documents or logical raw vector bytes. Neither limit is a write quota or a physical-retention limit.
Implementations§
Source§impl DiskANNRebuildPolicy
impl DiskANNRebuildPolicy
pub fn new( documents: u64, vector_bytes: u64, ) -> Result<DiskANNRebuildPolicy, StorageBackendError>
pub fn documents(self) -> u64
pub fn vector_bytes(self) -> u64
Trait Implementations§
Source§impl Clone for DiskANNRebuildPolicy
impl Clone for DiskANNRebuildPolicy
Source§fn clone(&self) -> DiskANNRebuildPolicy
fn clone(&self) -> DiskANNRebuildPolicy
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 moreimpl Copy for DiskANNRebuildPolicy
Source§impl Debug for DiskANNRebuildPolicy
impl Debug for DiskANNRebuildPolicy
Source§impl Default for DiskANNRebuildPolicy
impl Default for DiskANNRebuildPolicy
Source§fn default() -> DiskANNRebuildPolicy
fn default() -> DiskANNRebuildPolicy
Returns the “default value” for a type. Read more
impl Eq for DiskANNRebuildPolicy
Source§impl PartialEq for DiskANNRebuildPolicy
impl PartialEq for DiskANNRebuildPolicy
impl StructuralPartialEq for DiskANNRebuildPolicy
Auto Trait Implementations§
impl Freeze for DiskANNRebuildPolicy
impl RefUnwindSafe for DiskANNRebuildPolicy
impl Send for DiskANNRebuildPolicy
impl Sync for DiskANNRebuildPolicy
impl Unpin for DiskANNRebuildPolicy
impl UnsafeUnpin for DiskANNRebuildPolicy
impl UnwindSafe for DiskANNRebuildPolicy
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
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