pub trait ResponsePipeFutureCall: Send + Sync {
    fn call<'a>(
        &'a mut self,
        response_body_pipe: &'a mut ResponseBodyPipe,
        host: &'a Host
    ) -> RetFut<'a, ()>; }
Expand description

Implement this to pass your future to FatResponse::with_future.

Required Methods§

Arguments
  • A mutable reference to the ResponseBodyPipe.
  • An immutable reference to the host this request is to.

Implementors§