Skip to main content

tool_map

Function tool_map 

Source
pub fn tool_map<I, T>(tools: I) -> HashMap<String, Arc<dyn Tool>>
where I: IntoIterator<Item = T>, T: Tool + 'static,
Expand description

Helper to create a tool map from an iterator of tools.