Skip to main content

load_required

Function load_required 

Source
pub fn load_required(path: &Path) -> Result<ServerConfig, ServerError>
Expand description

Load and validate a required TOML config file.

ยงErrors

Returns ServerError::Config when the file is missing, unreadable, unparsable, invalid, or Aion home cannot be resolved for omitted path defaults.