pub enum IndependenceMode {
Complete,
Cancel,
Sequential,
}Expand description
How independent products (!/?!) are scheduled and how failures
propagate.
Per docs/independence.md: sequential and concurrent evaluation are
both valid under the language semantics. Pick the schedule that fits
the environment — threads for native CLI, single-thread for
wasm/playground.
Variants§
Complete
Parallel execution. Wait for all branches to finish, then report one error.
Cancel
Parallel execution. Signal siblings to stop as soon as one branch fails.
Sequential
Sequential left-to-right execution. No threads. Valid per the language spec (any interleave is permitted, including the trivial fully-sequential one). Used by wasm builds that cannot spawn threads; also selectable for deterministic replay.
Trait Implementations§
Source§impl Clone for IndependenceMode
impl Clone for IndependenceMode
Source§fn clone(&self) -> IndependenceMode
fn clone(&self) -> IndependenceMode
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 IndependenceMode
impl Debug for IndependenceMode
Source§impl Default for IndependenceMode
impl Default for IndependenceMode
Source§fn default() -> IndependenceMode
fn default() -> IndependenceMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for IndependenceMode
impl PartialEq for IndependenceMode
impl Copy for IndependenceMode
impl Eq for IndependenceMode
impl StructuralPartialEq for IndependenceMode
Auto Trait Implementations§
impl Freeze for IndependenceMode
impl RefUnwindSafe for IndependenceMode
impl Send for IndependenceMode
impl Sync for IndependenceMode
impl Unpin for IndependenceMode
impl UnsafeUnpin for IndependenceMode
impl UnwindSafe for IndependenceMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.