Trait for generating responses Types that implement this trait can be used as return types for handler functions.
| 204 | /// |
| 205 | /// Types that implement this trait can be used as return types for handler functions. |
| 206 | pub trait IntoResponse { |
| 207 | /// Transform into a `Response<Body>` Future |
| 208 | fn into_response(self) -> ResponseFuture; |
| 209 | } |
| 210 | |
| 211 | impl<B> IntoResponse for Response<B> |
| 212 | where |
nothing calls this directly
no outgoing calls
no test coverage detected