(&mut self, mut plugin: Box<dyn DataflowPlugin>)
| 108 | |
| 109 | #[cfg(feature = "plugins")] |
| 110 | pub fn insert_plugin(&mut self, mut plugin: Box<dyn DataflowPlugin>) { |
| 111 | plugin.on_init(); |
| 112 | self.plugins.push(plugin); |
| 113 | } |
| 114 | |
| 115 | pub fn insert_exporter(&mut self, exporter: impl DataflowExport + 'static) { |
| 116 | self.store.exporters.push(Box::new(exporter)) |
no test coverage detected