muse2::inputFunction read_toml
Source pub fn read_toml<T: DeserializeOwned>(file_path: &Path) -> Result<T>
Expand description
Parse a TOML file at the specified path.
§Arguments
file_path
- Path to the TOML file
§Returns
- The deserialised TOML data or an error if the file could not be read or parsed.