pub struct BatchAnalyzer;Expand description
Node batching analyzer
Implementations§
Source§impl BatchAnalyzer
impl BatchAnalyzer
Sourcepub fn analyze(workflow: &Workflow) -> BatchPlan
pub fn analyze(workflow: &Workflow) -> BatchPlan
Analyze a workflow and generate a batch execution plan
Sourcepub fn find_batch_opportunities(workflow: &Workflow) -> Vec<BatchOpportunity>
pub fn find_batch_opportunities(workflow: &Workflow) -> Vec<BatchOpportunity>
Get nodes that can be batched together
Auto Trait Implementations§
impl Freeze for BatchAnalyzer
impl RefUnwindSafe for BatchAnalyzer
impl Send for BatchAnalyzer
impl Sync for BatchAnalyzer
impl Unpin for BatchAnalyzer
impl UnwindSafe for BatchAnalyzer
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