pub struct IndexPerformanceCaps {
pub initial_scan_budget_ms: u64,
pub incremental_budget_ms: u64,
}Expand description
Performance caps for workspace indexing operations.
Fields§
§initial_scan_budget_ms: u64Initial workspace scan budget in milliseconds (default: 500ms).
incremental_budget_ms: u64Incremental update budget in milliseconds (default: 10ms).
Trait Implementations§
Source§impl Clone for IndexPerformanceCaps
impl Clone for IndexPerformanceCaps
Source§fn clone(&self) -> IndexPerformanceCaps
fn clone(&self) -> IndexPerformanceCaps
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 IndexPerformanceCaps
impl Debug for IndexPerformanceCaps
Source§impl Default for IndexPerformanceCaps
impl Default for IndexPerformanceCaps
Source§fn default() -> IndexPerformanceCaps
fn default() -> IndexPerformanceCaps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IndexPerformanceCaps
impl RefUnwindSafe for IndexPerformanceCaps
impl Send for IndexPerformanceCaps
impl Sync for IndexPerformanceCaps
impl Unpin for IndexPerformanceCaps
impl UnsafeUnpin for IndexPerformanceCaps
impl UnwindSafe for IndexPerformanceCaps
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