Sketch out indexes in Store
This commit is contained in:
parent
dae012daa7
commit
89305b6126
4 changed files with 82 additions and 32 deletions
|
|
@ -52,7 +52,7 @@ async fn append_entry(cursor: &mut WriteCursor<'_, Data>, entry: &Entry<Data>) -
|
|||
Ok(file_position)
|
||||
}
|
||||
|
||||
async fn read_entry(cursor: &mut ReadCursor<Data>, file_position: FilePosition) -> Result<Option<EntryDetailed<Data>>> {
|
||||
async fn read_entry(cursor: &mut ReadCursor<'_, Data>, file_position: FilePosition) -> Result<Option<EntryDetailed<Data>>> {
|
||||
println!("READING ENTRY at file_position={}", file_position);
|
||||
// let entry = cursor.read_entry_at(file_position).await.map_err(|e| e.to_io_or_panic())?;
|
||||
// println!("ENTRY: {:?}", entry);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue