(&self, id: &str)
| 133 | |
| 134 | #[must_use] |
| 135 | pub fn get(&self, id: &str) -> Option<&dyn ProviderPlugin> { |
| 136 | self.plugins.get(id).map(Box::as_ref) |
| 137 | } |
| 138 | |
| 139 | pub fn discover_existing(&self, id: &str) -> Result<Option<DiscoveredProvider>, ProviderError> { |
| 140 | let Some(plugin) = self.get(id) else { |
no outgoing calls