add AsyncIndexReader

implements AsyncRead as well as Stream for an IndexFile and a store
that implements AsyncReadChunk

we can use this to asyncread or stream the content of a FixedIndex or
DynamicIndex

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak
2020-06-18 13:55:27 +02:00
committed by Dietmar Maurer
parent abdb976340
commit 4a3adc3de8
2 changed files with 189 additions and 0 deletions

View File

@ -200,3 +200,6 @@ pub use datastore::*;
mod catalog_shell;
pub use catalog_shell::*;
mod async_index_reader;
pub use async_index_reader::*;