[−][src]Trait tower_web::routing::ResourceFuture
A specialized response future returned by resources.
The ResourceFuture
allows passing the HTTP response into the future when
polling.
Associated Types
type Body
HTTP response body type
Required methods
fn poll_response(
&mut self,
request: &Request<()>
) -> Poll<Response<Self::Body>, Error>
&mut self,
request: &Request<()>
) -> Poll<Response<Self::Body>, Error>
Attempt to resolve the response future to a final value.