diff options
-rw-r--r-- | crates/core/tedge_core/src/reactor.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/core/tedge_core/src/reactor.rs b/crates/core/tedge_core/src/reactor.rs index 07d06c01..7e56f1c4 100644 --- a/crates/core/tedge_core/src/reactor.rs +++ b/crates/core/tedge_core/src/reactor.rs @@ -284,6 +284,7 @@ impl Reactor { Ok(()) } + /// Get the configuration of a plugin by plugin name fn get_config_for_plugin<'a>(&'a self, plugin_name: &str) -> Option<&'a InstanceConfiguration> { trace!( plugin.name = plugin_name, @@ -296,6 +297,7 @@ impl Reactor { .map(|cfg| cfg.configuration()) } + /// Find the plugin builder for a plugin kind #[allow(clippy::borrowed_box)] fn find_plugin_builder<'a>( &'a self, @@ -311,6 +313,7 @@ impl Reactor { .map(|(_, pb)| pb) } + /// Instantiate a plugin async fn instantiate_plugin( &self, plugin_name: &str, |