pub struct CompiledConfig {
pub routes: HashMap<String, CompiledRoute>,
pub plugins: PluginRegistry,
}Expand description
Output of compile_config — the routes that have APL blocks plus
the registry of plugin declarations from the root plugins: block.
The two travel together because the evaluator needs both: the route gives it the steps to run, and the registry gives the dispatcher the hook name / kind for each plugin name referenced by those steps.
Fields§
§routes: HashMap<String, CompiledRoute>§plugins: PluginRegistryTrait Implementations§
Source§impl Debug for CompiledConfig
impl Debug for CompiledConfig
Source§impl Default for CompiledConfig
impl Default for CompiledConfig
Source§fn default() -> CompiledConfig
fn default() -> CompiledConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompiledConfig
impl RefUnwindSafe for CompiledConfig
impl Send for CompiledConfig
impl Sync for CompiledConfig
impl Unpin for CompiledConfig
impl UnsafeUnpin for CompiledConfig
impl UnwindSafe for CompiledConfig
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