pub struct AsyncSchedulerConfig { /* private fields */ }
Expand description
Configuration for our upgraded asynchronous scheduler.
Implementations§
Source§impl AsyncSchedulerConfig
impl AsyncSchedulerConfig
Sourcepub fn max_parallelism(&self) -> &usize
pub fn max_parallelism(&self) -> &usize
Maximum concurrency (thread pool size / parallel tasks).
Sourcepub fn batching_strategy(&self) -> &BatchingStrategy
pub fn batching_strategy(&self) -> &BatchingStrategy
Determines wave-chunk scheduling vs. immediate node scheduling.
Sourcepub fn enable_streaming(&self) -> &bool
pub fn enable_streaming(&self) -> &bool
If true, we will spawn a channel to stream each node’s outputs.
Sourcepub fn checkpoint_callback(&self) -> &Option<Arc<dyn CheckpointCallback>>
pub fn checkpoint_callback(&self) -> &Option<Arc<dyn CheckpointCallback>>
If present, invoked after each node completes to record progress.
Trait Implementations§
Source§impl Clone for AsyncSchedulerConfig
impl Clone for AsyncSchedulerConfig
Source§fn clone(&self) -> AsyncSchedulerConfig
fn clone(&self) -> AsyncSchedulerConfig
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 moreAuto Trait Implementations§
impl Freeze for AsyncSchedulerConfig
impl !RefUnwindSafe for AsyncSchedulerConfig
impl Send for AsyncSchedulerConfig
impl Sync for AsyncSchedulerConfig
impl Unpin for AsyncSchedulerConfig
impl !UnwindSafe for AsyncSchedulerConfig
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