Skip to main content

Overlay

Type Alias Overlay 

Source
pub type Overlay = AresConfigManager;
Expand description

HTTP-adjacent config overlay (same type as AresConfigManager).

Aliased Type§

pub struct Overlay { /* private fields */ }

Implementations§

Source§

impl Overlay

Source

pub fn watch_cordis(&self, ctx: &Arc<Context>) -> Result<(), ConfigError>

Single Cordis watch for ares.toml plus TOON dirs.

Uses watch_many_with (no second notify stack). ares.toml changes reload this overlay and notify TypeId::of::<Overlay>(); TOON changes reload crate::toon_config::DynamicConfigManager and notify Tools and Execute TypeIds.

Source

pub fn fill_empty_entry_configs(&self, tree: &mut EntryTree)

Fill empty cordis-entry configs from ares.toml sections.

Non-empty loader entry.config values are left unchanged.