(&self)
| 97 | } |
| 98 | |
| 99 | pub fn try_clone(&self) -> std::io::Result<RawFile> { |
| 100 | Ok(RawFile { |
| 101 | file: self.file.try_clone().expect("RawFile cloning failed"), |
| 102 | alignment: self.alignment, |
| 103 | position: self.position, |
| 104 | direct_io: self.direct_io, |
| 105 | }) |
| 106 | } |
| 107 | |
| 108 | pub fn sync_all(&self) -> std::io::Result<()> { |
| 109 | self.file.sync_all() |
no outgoing calls