pub enum ParallelStrategy {
Static,
Dynamic,
Guided,
}Expand description
Parallel execution strategy.
Variants§
Static
Static scheduling with fixed chunk sizes. Deterministic: same work distribution across runs.
Dynamic
Dynamic scheduling with work-stealing. Non-deterministic: work distribution varies.
Guided
Guided scheduling with decreasing chunk sizes. Semi-deterministic.
Trait Implementations§
Source§impl Clone for ParallelStrategy
impl Clone for ParallelStrategy
Source§fn clone(&self) -> ParallelStrategy
fn clone(&self) -> ParallelStrategy
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 ParallelStrategy
Source§impl Debug for ParallelStrategy
impl Debug for ParallelStrategy
impl Eq for ParallelStrategy
Source§impl PartialEq for ParallelStrategy
impl PartialEq for ParallelStrategy
Source§fn eq(&self, other: &ParallelStrategy) -> bool
fn eq(&self, other: &ParallelStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParallelStrategy
Auto Trait Implementations§
impl Freeze for ParallelStrategy
impl RefUnwindSafe for ParallelStrategy
impl Send for ParallelStrategy
impl Sync for ParallelStrategy
impl Unpin for ParallelStrategy
impl UnsafeUnpin for ParallelStrategy
impl UnwindSafe for ParallelStrategy
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