(&mut self, buf: &mut [u8])
| 165 | } |
| 166 | |
| 167 | fn read_exact(&mut self, buf: &mut [u8]) -> Result<()> { |
| 168 | self.file.read_exact(buf)?; |
| 169 | self.offset += buf.len() as u64; |
| 170 | Ok(()) |
| 171 | } |
| 172 | } |
| 173 | |
| 174 | /// Open a WAL segment for lazy reading and iterate with a callback. |
no test coverage detected