Skip to main content

NormalModuleReadResource

Trait NormalModuleReadResource 

Source
pub trait NormalModuleReadResource {
    // Required method
    fn run<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        resource_data: &'life1 ResourceData,
        fs: &'life2 Arc<dyn ReadableFileSystem>,
    ) -> Pin<Box<dyn Future<Output = Result<Option<Content>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;

    // Provided method
    fn stage(&self) -> i32 { ... }
}

Required Methods§

Source

fn run<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, resource_data: &'life1 ResourceData, fs: &'life2 Arc<dyn ReadableFileSystem>, ) -> Pin<Box<dyn Future<Output = Result<Option<Content>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Provided Methods§

Source

fn stage(&self) -> i32

Implementors§