Skip to main content

TaskProcessorResolver

Trait TaskProcessorResolver 

Source
pub trait TaskProcessorResolver: Send + Sync {
    // Required method
    fn resolve_task_processor(
        &self,
        name: &str,
    ) -> Option<Arc<dyn TaskProcessor>>;
}
Expand description

Resolves named task processors at execution time.

This keeps genja-core independent from the plugin manager while allowing the runtime to pass its existing plugin registry into a TaskDefinition.

Required Methods§

Trait Implementations§

Source§

impl Debug for dyn TaskProcessorResolver

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§