pub enum ParallelMode {
Count,
Each,
Settle,
}Expand description
Parallel execution mode.
Variants§
Count
parallel N { i -> ... } — run N concurrent tasks.
Each
parallel each list { item -> ... } — map over list concurrently.
Settle
parallel settle list { item -> ... } — map with error collection.
Trait Implementations§
Source§impl Clone for ParallelMode
impl Clone for ParallelMode
Source§fn clone(&self) -> ParallelMode
fn clone(&self) -> ParallelMode
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 moreSource§impl Debug for ParallelMode
impl Debug for ParallelMode
Source§impl PartialEq for ParallelMode
impl PartialEq for ParallelMode
impl Copy for ParallelMode
impl StructuralPartialEq for ParallelMode
Auto Trait Implementations§
impl Freeze for ParallelMode
impl RefUnwindSafe for ParallelMode
impl Send for ParallelMode
impl Sync for ParallelMode
impl Unpin for ParallelMode
impl UnsafeUnpin for ParallelMode
impl UnwindSafe for ParallelMode
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