pub struct Parallel { /* private fields */ }Expand description
Parallel composition - executes tools concurrently
Runs multiple compositions in parallel using futures::future::join_all.
All branches execute simultaneously and results are collected.
§Example
ⓘ
let parallel = Parallel::builder()
.branch(analyze_file_composition)
.branch(run_tests_composition)
.branch(check_lint_composition)
.build();Implementations§
Trait Implementations§
Source§impl Composition for Parallel
impl Composition for Parallel
Auto Trait Implementations§
impl Freeze for Parallel
impl !RefUnwindSafe for Parallel
impl Send for Parallel
impl Sync for Parallel
impl Unpin for Parallel
impl UnsafeUnpin for Parallel
impl !UnwindSafe for Parallel
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