Comment Comment by gary_0 pub fn read(path: Path) -> Result<Bytes> { File::open(path)?.read_to_end() } isn't so bad either. parent gary_0 2 years ago