Trait deno_web::BlobPart

source ·
pub trait BlobPart: Debug {
    // Required methods
    fn read<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<&[u8], AnyError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn size(&self) -> usize;
}

Required Methods§

source

fn read<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<&[u8], AnyError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn size(&self) -> usize

Implementors§