DocumentGenerator

Trait DocumentGenerator 

Source
pub trait DocumentGenerator {
    // Required method
    fn generate<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        content: &'life1 str,
        _metadata: &'life2 ProjectMetadata,
        config: &'life3 Config,
    ) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}
Expand description

文档生成器接口

Required Methods§

Source

fn generate<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, content: &'life1 str, _metadata: &'life2 ProjectMetadata, config: &'life3 Config, ) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

生成文档

Implementors§