Skip to main content

refuse_unmodelled

Function refuse_unmodelled 

Source
pub fn refuse_unmodelled(
    cfg: &Config,
    effects: &[&str],
) -> Result<(), ConfigError>
Expand description

Refuses each of effects (effects.<name>) switched on in cfg (error-effect-not-modelled): switches a machine’s config has with the others of its crate but that this machine does not model, so that one turned on is not silently without effect.