Trait rspack_core::CompilerEmit

source ·
pub trait CompilerEmit {
    // Required method
    fn run<'life0, 'life1, 'async_trait>(
        &'life0 self,
        compilation: &'life1 mut Compilation,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;

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

Required Methods§

source

fn run<'life0, 'life1, 'async_trait>( &'life0 self, compilation: &'life1 mut Compilation, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Provided Methods§

source

fn stage(&self) -> i32

Implementors§