Skip to main content

LiveLogAdapter

Trait LiveLogAdapter 

Source
pub trait LiveLogAdapter: Send {
    // Required method
    fn poll<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        writer: &'life1 SessionLogWriter,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;

    // Provided method
    fn finalize<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        writer: &'life1 SessionLogWriter,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
}

Required Methods§

Source

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

Provided Methods§

Source

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

Implementors§