pub trait WebFileEngineExt {
    // Required method
    fn get_web_file<'life0, 'life1, 'async_trait>(
        &'life0 self,
        file: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Option<File>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Helper trait for WebFileEngine

Required Methods§

source

fn get_web_file<'life0, 'life1, 'async_trait>( &'life0 self, file: &'life1 str ) -> Pin<Box<dyn Future<Output = Option<File>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

returns web_sys::File

Implementations on Foreign Types§

source§

impl WebFileEngineExt for Arc<dyn FileEngine>

source§

fn get_web_file<'life0, 'life1, 'async_trait>( &'life0 self, file: &'life1 str ) -> Pin<Box<dyn Future<Output = Option<File>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§