pub trait ResourceFuture {
type Body;
// Required method
fn poll_response(
&mut self,
request: &Request<()>,
) -> Poll<Response<Self::Body>, Error>;
}Expand description
A specialized response future returned by resources.
The ResourceFuture allows passing the HTTP response into the future when
polling.