Type Alias iroh_blobs::store::fs::Entry

source ·
pub type Entry = BaoFileHandle;
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