pub type HttpFuture = Pin<Box<dyn Future<Output = Result<Response<Body>, HttpError>>>>;Expand description
A request on its way to a server, and the response once its head arrives.
The response is ready before its body is: the body streams from Response::body_mut, and
dropping the future or the response before the body is read cancels the transfer.
Aliased Typeยง
#[repr(transparent)]pub struct HttpFuture { /* private fields */ }