(&mut self, newpos: SeekFrom)
| 314 | |
| 315 | impl Seek for RawFile { |
| 316 | fn seek(&mut self, newpos: SeekFrom) -> std::io::Result<u64> { |
| 317 | match self.file.seek(newpos) { |
| 318 | Ok(pos) => { |
| 319 | self.position = pos; |
| 320 | Ok(pos) |
| 321 | } |
| 322 | Err(e) => Err(e), |
| 323 | } |
| 324 | } |
| 325 | } |
| 326 | |
| 327 | impl WriteZeroesAt for RawFile { |