pub struct ParallelResolutionConfig {
pub enabled: bool,
pub max_concurrency: usize,
pub min_fields_for_parallel: usize,
pub adaptive_concurrency: bool,
pub enable_work_stealing: bool,
pub max_queue_depth: usize,
pub field_timeout: Duration,
}Expand description
Configuration for parallel field resolution
Fields§
§enabled: boolEnable parallel field resolution
max_concurrency: usizeMaximum number of concurrent field resolutions
min_fields_for_parallel: usizeMinimum fields required to trigger parallelization
adaptive_concurrency: boolEnable adaptive concurrency based on system load
enable_work_stealing: boolEnable work stealing for load balancing
max_queue_depth: usizeMaximum queue depth for pending resolutions
field_timeout: DurationTimeout for individual field resolutions
Trait Implementations§
Source§impl Clone for ParallelResolutionConfig
impl Clone for ParallelResolutionConfig
Source§impl Debug for ParallelResolutionConfig
impl Debug for ParallelResolutionConfig
Auto Trait Implementations§
impl Freeze for ParallelResolutionConfig
impl RefUnwindSafe for ParallelResolutionConfig
impl Send for ParallelResolutionConfig
impl Sync for ParallelResolutionConfig
impl Unpin for ParallelResolutionConfig
impl UnsafeUnpin for ParallelResolutionConfig
impl UnwindSafe for ParallelResolutionConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more