Skip to main content

L7ResponseMiddleware

Trait L7ResponseMiddleware 

Source
pub trait L7ResponseMiddleware: Send + Sync {
    // Required method
    fn run<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        resp: &'life1 mut Response,
        conn: &'life2 Arc<ConnContext>,
        ctx: &'life3 mut FlowCtx,
    ) -> Pin<Box<dyn Future<Output = Result<Decision, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}

Required Methods§

Source

fn run<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, resp: &'life1 mut Response, conn: &'life2 Arc<ConnContext>, ctx: &'life3 mut FlowCtx, ) -> Pin<Box<dyn Future<Output = Result<Decision, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Implementors§