Function qsym2::io::read_qsym2_yaml

source ·
pub fn read_qsym2_yaml<T, P: AsRef<Path>>(name: P) -> Result<T, Error>
Expand description

Reads a QSym2 configuration YAML file and deserialises it into an appropriate structure.

§Arguments

  • name - The name of the file to be read in (with its .yml or .yaml extension).

§Returns

A Result containing the structure deserialised from the read-in file.