(&self, id: &str)
| 25 | } |
| 26 | |
| 27 | pub async fn get(&self, id: &str) -> Option<Arc<dyn Tool>> { |
| 28 | let tools = self.tools.read().await; |
| 29 | tools.get(id).cloned() |
| 30 | } |
| 31 | |
| 32 | pub async fn list(&self) -> Vec<Arc<dyn Tool>> { |
| 33 | let tools = self.tools.read().await; |
no test coverage detected