Skip to main content

attach

Function attach 

Source
pub fn attach(
    set: &ConfigSet,
    callbacks: &mut Callbacks,
) -> Result<(), ConfigError>
Expand description

Compiles every inline and file callback and parser in set and registers them in callbacks. File paths resolve relative to each config file.

Syntax errors and unreadable files are reported with the config file and rule id; nothing partial is registered on failure — call sites should treat an Err as fatal for this config set.