pub fn save<P: AsRef<Path>>( filepath: P, param: &ParamStruct) -> Result<(), Error>
Attempts to write a param file into the given filepath. Returns nothing if successful, otherwise an Error.