pub struct ParallelQueryConfig {
pub enabled: bool,
pub max_threads: usize,
pub min_parallel_rows: u64,
}Expand description
Parallel query execution configuration
Fields§
§enabled: boolEnable parallel query execution
max_threads: usizeMaximum number of parallel threads
min_parallel_rows: u64Minimum result set size to trigger parallel execution
Trait Implementations§
Source§impl Clone for ParallelQueryConfig
impl Clone for ParallelQueryConfig
Source§fn clone(&self) -> ParallelQueryConfig
fn clone(&self) -> ParallelQueryConfig
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 moreSource§impl Debug for ParallelQueryConfig
impl Debug for ParallelQueryConfig
Source§impl Default for ParallelQueryConfig
impl Default for ParallelQueryConfig
Source§impl<'de> Deserialize<'de> for ParallelQueryConfig
impl<'de> Deserialize<'de> for ParallelQueryConfig
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 ParallelQueryConfig
impl RefUnwindSafe for ParallelQueryConfig
impl Send for ParallelQueryConfig
impl Sync for ParallelQueryConfig
impl Unpin for ParallelQueryConfig
impl UnsafeUnpin for ParallelQueryConfig
impl UnwindSafe for ParallelQueryConfig
Blanket Implementations§
impl<T> Allocation for T
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