Skip to main content

L7Fetch

Trait L7Fetch 

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

Required Methods§

Source

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

Implementors§