pub trait LogIngestor: Send + Sync {
    // Required methods
    fn name(&self) -> &'static str;
    fn start(&self);
    fn ingest<'life0, 'async_trait>(
        &'life0 mut self,
        log: Log
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn flush<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

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

source

fn start(&self)

source

fn ingest<'life0, 'async_trait>( &'life0 mut self, log: Log ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn flush<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§