pub enum Plugins {
Connection(Box<dyn PluginConnection>),
Inventory(Box<dyn PluginInventory>),
AsyncInventory(Box<dyn AsyncPluginInventory>),
Processor(Box<dyn PluginProcessor>),
Runner(Box<dyn PluginRunner>),
TransformFunction(Box<dyn PluginTransformFunction>),
}Expand description
Heterogeneous container for supported plugin trait objects.
Each variant wraps a boxed trait object that implements a specific plugin interface.
Variants§
Connection(Box<dyn PluginConnection>)
Inventory(Box<dyn PluginInventory>)
AsyncInventory(Box<dyn AsyncPluginInventory>)
Processor(Box<dyn PluginProcessor>)
Runner(Box<dyn PluginRunner>)
TransformFunction(Box<dyn PluginTransformFunction>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Plugins
impl !UnwindSafe for Plugins
impl Freeze for Plugins
impl Send for Plugins
impl Sync for Plugins
impl Unpin for Plugins
impl UnsafeUnpin for Plugins
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more