Struct iroh_blobs::store::readonly_mem::Entry
source · pub struct Entry { /* private fields */ }
Trait Implementations§
source§impl MapEntry for Entry
impl MapEntry for Entry
source§fn size(&self) -> BaoBlobSize
fn size(&self) -> BaoBlobSize
The size of the entry.
source§async fn outboard(&self) -> Result<impl Outboard>
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>
async fn data_reader(&self) -> Result<impl AsyncSliceReader>
A future that resolves to a reader that can be used to read the data
source§fn is_complete(&self) -> bool
fn is_complete(&self) -> bool
Returns
true
if the entry is complete. Read moresource§impl MapEntryMut for Entry
impl MapEntryMut for Entry
source§async fn batch_writer(&self) -> Result<impl BaoBatchWriter>
async fn batch_writer(&self) -> Result<impl BaoBatchWriter>
Get a batch writer
Auto Trait Implementations§
impl !Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more