pub struct IncrementalServiceBuilder { /* private fields */ }Expand description
Service builder for easy configuration
Implementations§
Source§impl IncrementalServiceBuilder
impl IncrementalServiceBuilder
pub fn new() -> Self
pub fn with_batch_size(self, size: usize) -> Self
pub fn with_timeout(self, timeout_ms: u64) -> Self
pub fn with_concurrency(self, max_ops: usize) -> Self
pub fn enable_feature(self, feature: &str, enabled: bool) -> Self
pub fn with_optimization(self, optimization: OptimizationConfig) -> Self
pub async fn build(self) -> RragResult<IncrementalIndexingService>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IncrementalServiceBuilder
impl RefUnwindSafe for IncrementalServiceBuilder
impl Send for IncrementalServiceBuilder
impl Sync for IncrementalServiceBuilder
impl Unpin for IncrementalServiceBuilder
impl UnwindSafe for IncrementalServiceBuilder
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