pub struct DistributedConfig {
pub worker_budget: usize,
pub candidate_multiplier: usize,
}Expand description
Bounded coordinator policy for shard fan-out and stable result merging.
Fields§
§worker_budget: usizeTotal local worker budget shared by query and shard parallelism.
candidate_multiplier: usizePer-shard candidate count is top_k * candidate_multiplier.
Implementations§
Trait Implementations§
Source§impl Clone for DistributedConfig
impl Clone for DistributedConfig
Source§fn clone(&self) -> DistributedConfig
fn clone(&self) -> DistributedConfig
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 moreimpl Copy for DistributedConfig
Source§impl Debug for DistributedConfig
impl Debug for DistributedConfig
impl Eq for DistributedConfig
Source§impl PartialEq for DistributedConfig
impl PartialEq for DistributedConfig
impl StructuralPartialEq for DistributedConfig
Auto Trait Implementations§
impl Freeze for DistributedConfig
impl RefUnwindSafe for DistributedConfig
impl Send for DistributedConfig
impl Sync for DistributedConfig
impl Unpin for DistributedConfig
impl UnsafeUnpin for DistributedConfig
impl UnwindSafe for DistributedConfig
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