pub trait ResponseWriter: Sized {
    // Required method
    fn write_response<'life0, 'async_trait, R>(
        self,
        response: &'life0 Response<R>
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>
       where R: 'async_trait + Serialize,
             Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn write_response<'life0, 'async_trait, R>( self, response: &'life0 Response<R> ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>where R: 'async_trait + Serialize, Self: 'async_trait, 'life0: 'async_trait,

Implementors§