mysqladm::server::config

Function read_config_from_path_with_arg_overrides

Source
pub fn read_config_from_path_with_arg_overrides(
    config_path: Option<PathBuf>,
    args: ServerConfigArgs,
) -> Result<ServerConfig>
Expand description

Use the arguments and whichever configuration file which might or might not be found and default values to determine the configuration for the program.