(mut self)
| 411 | |
| 412 | impl<W: AsyncWriteExt + AsyncFsync + Unpin> CurrentSegment<W> { |
| 413 | async fn close(mut self) -> io::Result<()> { |
| 414 | self.flush_and_sync().await |
| 415 | } |
| 416 | |
| 417 | async fn flush_and_sync(&mut self) -> io::Result<()> { |
| 418 | self.segment.flush().await?; |
nothing calls this directly
no test coverage detected