Trait BlobReader

Source
pub trait BlobReader: Send + Sync {
    // Required method
    fn map_read<'a, 'life0, 'life1, 'async_trait>(
        &'a self,
        token: &'life0 BlobToken,
        desc: &'life1 SharedBlobDescriptor,
    ) -> Pin<Box<dyn Future<Output = Result<MappedRead<'a>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Reader side to map an incoming blob by token/descriptor.

Required Methods§

Source

fn map_read<'a, 'life0, 'life1, 'async_trait>( &'a self, token: &'life0 BlobToken, desc: &'life1 SharedBlobDescriptor, ) -> Pin<Box<dyn Future<Output = Result<MappedRead<'a>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Map a blob for reading using its token and descriptor metadata.

Implementors§