pub enum ExecutionStrategy {
Serial {
stop_on_error: bool,
},
Parallel {
max_concurrency: Option<usize>,
},
DependencyGraph {
dependencies: HashMap<usize, Vec<usize>>,
},
}Expand description
Strategy for executing multiple commands
Variants§
Serial
Execute sequentially, stop on error
Parallel
Execute concurrently
DependencyGraph
Execute based on dependency graph
Trait Implementations§
Source§impl Clone for ExecutionStrategy
impl Clone for ExecutionStrategy
Source§fn clone(&self) -> ExecutionStrategy
fn clone(&self) -> ExecutionStrategy
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 ExecutionStrategy
impl Debug for ExecutionStrategy
Source§impl<'de> Deserialize<'de> for ExecutionStrategy
impl<'de> Deserialize<'de> for ExecutionStrategy
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
Auto Trait Implementations§
impl Freeze for ExecutionStrategy
impl RefUnwindSafe for ExecutionStrategy
impl Send for ExecutionStrategy
impl Sync for ExecutionStrategy
impl Unpin for ExecutionStrategy
impl UnwindSafe for ExecutionStrategy
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