Skip to main content

ConcurrencyDecider

Trait ConcurrencyDecider 

Source
pub trait ConcurrencyDecider: Send + Sync {
    // Required method
    fn concurrency(&self, tool_name: &str) -> Concurrency;
}
Expand description

Decide concurrency for a tool by name.

Required Methods§

Source

fn concurrency(&self, tool_name: &str) -> Concurrency

Return the concurrency class for a tool by name.

Implementors§