Function read_from_file

Source
pub fn read_from_file<'a, T: Deserialize<'a>>(
    path: &Path,
    strbuf: &'a mut String,
) -> Result<T, String>