pub struct IndexManagerConfig {
pub max_pending_operations: usize,
pub batch_size: usize,
pub operation_timeout_secs: u64,
pub enable_conflict_resolution: bool,
pub conflict_resolution: ConflictResolutionStrategy,
pub enable_operation_log: bool,
pub max_operation_log: usize,
pub enable_auto_cleanup: bool,
pub cleanup_interval_secs: u64,
}Expand description
Index manager configuration
Fields§
§max_pending_operations: usizeMaximum pending operations
batch_size: usizeOperation batch size
operation_timeout_secs: u64Operation timeout in seconds
enable_conflict_resolution: boolEnable conflict resolution
conflict_resolution: ConflictResolutionStrategyConflict resolution strategy
enable_operation_log: boolEnable operation logging
max_operation_log: usizeMaximum operation log size
enable_auto_cleanup: boolEnable automatic cleanup
cleanup_interval_secs: u64Cleanup interval in seconds
Trait Implementations§
Source§impl Clone for IndexManagerConfig
impl Clone for IndexManagerConfig
Source§fn clone(&self) -> IndexManagerConfig
fn clone(&self) -> IndexManagerConfig
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 IndexManagerConfig
impl Debug for IndexManagerConfig
Source§impl Default for IndexManagerConfig
impl Default for IndexManagerConfig
Source§impl<'de> Deserialize<'de> for IndexManagerConfig
impl<'de> Deserialize<'de> for IndexManagerConfig
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 IndexManagerConfig
impl RefUnwindSafe for IndexManagerConfig
impl Send for IndexManagerConfig
impl Sync for IndexManagerConfig
impl Unpin for IndexManagerConfig
impl UnwindSafe for IndexManagerConfig
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