Type Alias Entry

Source
pub type Entry = BaoFileHandle;
Available on crate feature fs-store only.
Expand description

Use BaoFileHandle as the entry type for the map.

Aliased Type§

struct Entry(/* private fields */);

Trait Implementations§

Source§

impl MapEntry for Entry

Source§

fn hash(&self) -> Hash

The hash of the entry.
Source§

fn size(&self) -> BaoBlobSize

The size of the entry.
Source§

fn is_complete(&self) -> bool

Returns true if the entry is complete. Read more
Source§

async fn outboard(&self) -> Result<impl Outboard>

A future that resolves to a reader that can be used to read the outboard
Source§

async fn data_reader(&self) -> Result<impl AsyncSliceReader>

A future that resolves to a reader that can be used to read the data
Source§

impl MapEntryMut for Entry

Source§

async fn batch_writer(&self) -> Result<impl BaoBatchWriter>

Get a batch writer