pub trait AsyncChunkReader: Send {
// Required methods
fn len(&mut self) -> BoxFuture<'_, Result<u64>>;
fn get_bytes(
&mut self,
offset_from_start: u64,
length: u64,
) -> BoxFuture<'_, Result<Bytes>>;
}
pub trait AsyncChunkReader: Send {
// Required methods
fn len(&mut self) -> BoxFuture<'_, Result<u64>>;
fn get_bytes(
&mut self,
offset_from_start: u64,
length: u64,
) -> BoxFuture<'_, Result<Bytes>>;
}