(self)
| 19 | type AsyncWriter = tokio::io::BufWriter<tokio::fs::File>; |
| 20 | |
| 21 | fn into_async_writer(self) -> Self::AsyncWriter { |
| 22 | tokio::io::BufWriter::new(tokio::fs::File::from_std(self)) |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | pub trait AsyncRepo: Repo<SegmentWriter: IntoAsyncWriter<AsyncWriter = Self::AsyncSegmentWriter>> { |
no test coverage detected