File::open 默认返回的 File 对象只实现了 Read trait, 不带 BufRead trait. 因此需要手动创建一个 BufReader struct. 1 2 3 4 5 6
確定! 回上一頁