(&self, offset: u64)
| 378 | type AsyncSegmentReader = spacetimedb_fs_utils::compression::AsyncCompressReader<tokio::fs::File>; |
| 379 | |
| 380 | async fn open_segment_reader_async(&self, offset: u64) -> io::Result<Self::AsyncSegmentReader> { |
| 381 | let file = tokio::fs::File::open(self.segment_path(offset)).await?; |
| 382 | spacetimedb_fs_utils::compression::AsyncCompressReader::new(file).await |
| 383 | } |
| 384 | } |
| 385 | |
| 386 | #[cfg(feature = "streaming")] |
nothing calls this directly
no test coverage detected