pub fn read_file(filename: &Path) -> Result<RecordSet> {
    let mut f = File::open(filename)?;
    let mut contents = String::new();
    f.read_to_string(&mut contents)?;
    read_str(&contents)
}
/// try to read a `RecordSet` from a toml file
try to read a `RecordSet` from a toml file
try to read a ` RecordSet ` from a toml file
pub fn read_file(filename: &Path) -> Result<RecordSet> {
    let mut f = File::open(filename)?;
    let mut contents = String::new();
    f.read_to_string(&mut contents)?;
    read_str(&contents)
}
pub fn read_file ( filename : & Path ) -> Result < RecordSet > { let mut f = File :: open ( filename ) ? ; let mut contents = String :: new ( ) ; f . read_to_string ( & mut contents ) ? ; read_str ( & contents ) }
try to read a `RecordSet` from a toml file
try to read a ` RecordSet ` from a toml file
filename
&Path
filename
&Path