Skip to main content

NormalModuleFactoryParser

Trait NormalModuleFactoryParser 

Source
pub trait NormalModuleFactoryParser {
    // Required method
    fn run<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        module_type: &'life1 ModuleType,
        parser: &'life2 mut Box<dyn ParserAndGenerator>,
        parser_options: Option<&'life3 ParserOptions>,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;

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

Required Methods§

Source

fn run<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, module_type: &'life1 ModuleType, parser: &'life2 mut Box<dyn ParserAndGenerator>, parser_options: Option<&'life3 ParserOptions>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Provided Methods§

Source

fn stage(&self) -> i32

Implementors§