Function open_file

Source
pub fn open_file(path: &Path) -> Result<BufReader<File>>
Expand description

Easy buffered file opening with context on open errors. But see ReadWithContext instead for keeping context across subsequent calls, too.