pub trait ResponsePipeFutureCall: KvarnSendSync {
// Required method
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§
sourcefn call<'a>(
&'a mut self,
response_body_pipe: &'a mut ResponseBodyPipe,
host: &'a Host,
) -> RetFut<'a, ()>
fn call<'a>( &'a mut self, response_body_pipe: &'a mut ResponseBodyPipe, host: &'a Host, ) -> RetFut<'a, ()>
§Arguments
- A mutable reference to the
ResponseBodyPipe
. - An immutable reference to the host this request is to.