Trait rspack_core::CompilationContentHash

source ·
pub trait CompilationContentHash {
    // Required method
    fn run<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        compilation: &'life1 Compilation,
        chunk_ukey: &'life2 ChunkUkey,
        hashes: &'life3 mut HashMap<SourceType, RspackHash>,
    ) -> 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, compilation: &'life1 Compilation, chunk_ukey: &'life2 ChunkUkey, hashes: &'life3 mut HashMap<SourceType, RspackHash>, ) -> 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§