Trait rsql_formatters::Formatter

source ·
pub trait Formatter: Debug + Send + Sync {
    // Required methods
    fn identifier(&self) -> &'static str;
    fn format<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        options: &'life1 FormatterOptions,
        results: &'life2 mut Results,
        output: &'life3 mut Output,
    ) -> 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;
}

Required Methods§

source

fn identifier(&self) -> &'static str

source

fn format<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, options: &'life1 FormatterOptions, results: &'life2 mut Results, output: &'life3 mut Output, ) -> 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,

Implementors§