Trait rspack_core::ModuleFactory
source · pub trait ModuleFactory:
Debug
+ Sync
+ Send {
// Required method
fn create<'life0, 'life1, 'async_trait>(
&'life0 self,
data: &'life1 mut ModuleFactoryCreateData,
) -> Pin<Box<dyn Future<Output = Result<ModuleFactoryResult>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}