pub enum ParallelWait {
All,
Any,
N(usize),
}Expand description
Controls how parallel branches should be waited for
Variants§
All
Wait for all branches to complete
Any
Wait for any branch to complete (first to finish)
N(usize)
Wait for at least N branches to complete
Trait Implementations§
Source§impl Clone for ParallelWait
impl Clone for ParallelWait
Source§fn clone(&self) -> ParallelWait
fn clone(&self) -> ParallelWait
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 ParallelWait
impl Debug for ParallelWait
Source§impl Default for ParallelWait
impl Default for ParallelWait
Source§fn default() -> ParallelWait
fn default() -> ParallelWait
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ParallelWait
impl<'de> Deserialize<'de> for ParallelWait
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ParallelWait
impl PartialEq for ParallelWait
Source§impl Serialize for ParallelWait
impl Serialize for ParallelWait
impl StructuralPartialEq for ParallelWait
Auto Trait Implementations§
impl Freeze for ParallelWait
impl RefUnwindSafe for ParallelWait
impl Send for ParallelWait
impl Sync for ParallelWait
impl Unpin for ParallelWait
impl UnsafeUnpin for ParallelWait
impl UnwindSafe for ParallelWait
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