pub struct HybridRunner;Expand description
Loads a discovered plugin into a runnable FilterPlugin. Dispatches by
source first, then by entry extension:
PluginSource::Embedded→ alwaysLfFilterfrom the in-memory stringPluginSource::Diskwith.lfentry →LfFilterreading from diskPluginSource::Diskwith any other extension →ProcessFilterviash
The entrypoint for disk plugins is resolved by RuntimeConfig::resolve_entry:
an explicit runtime.entry in the manifest wins; otherwise auto-detected.
Implementations§
Source§impl HybridRunner
impl HybridRunner
pub fn load(plugin: &DiscoveredPlugin) -> Result<Box<dyn FilterPlugin>>
Auto Trait Implementations§
impl Freeze for HybridRunner
impl RefUnwindSafe for HybridRunner
impl Send for HybridRunner
impl Sync for HybridRunner
impl Unpin for HybridRunner
impl UnsafeUnpin for HybridRunner
impl UnwindSafe for HybridRunner
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