pub enum IndexUpdateStrategy {
Immediate,
Batch,
Lazy,
Adaptive,
Custom(String),
}Expand description
Index update strategies
Variants§
Immediate
Immediate update on each change
Batch
Batch updates periodically
Lazy
Lazy updates on query
Adaptive
Adaptive based on load
Custom(String)
Custom strategy
Trait Implementations§
Source§impl Clone for IndexUpdateStrategy
impl Clone for IndexUpdateStrategy
Source§fn clone(&self) -> IndexUpdateStrategy
fn clone(&self) -> IndexUpdateStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexUpdateStrategy
impl Debug for IndexUpdateStrategy
Source§impl<'de> Deserialize<'de> for IndexUpdateStrategy
impl<'de> Deserialize<'de> for IndexUpdateStrategy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IndexUpdateStrategy
impl RefUnwindSafe for IndexUpdateStrategy
impl Send for IndexUpdateStrategy
impl Sync for IndexUpdateStrategy
impl Unpin for IndexUpdateStrategy
impl UnwindSafe for IndexUpdateStrategy
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