WeaverTask

Trait WeaverTask 

Source
pub trait WeaverTask: Send + Sync {
    // Required method
    fn run<'life0, 'life1, 'async_trait>(
        &'life0 self,
        config: Arc<WeaverConfig>,
        content: &'life1 Arc<HashMap<KString, LiquidGlobalsPage>>,
    ) -> Pin<Box<dyn Future<Output = Result<Option<WritableFile>, BuildError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn run<'life0, 'life1, 'async_trait>( &'life0 self, config: Arc<WeaverConfig>, content: &'life1 Arc<HashMap<KString, LiquidGlobalsPage>>, ) -> Pin<Box<dyn Future<Output = Result<Option<WritableFile>, BuildError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§