(&mut self)
| 51 | |
| 52 | pub trait AsyncLen: AsyncSeek + Unpin + Send { |
| 53 | fn segment_len(&mut self) -> impl Future<Output = io::Result<u64>> + Send |
| 54 | where |
| 55 | Self: Sized, |
| 56 | { |
| 57 | async { spacetimedb_fs_utils::compression::segment_len(self).await } |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | impl<T: AsyncWrite + AsyncLen + Send> AsyncLen for tokio::io::BufWriter<T> { |
nothing calls this directly
no test coverage detected