(self)
| 213 | B: ConvertBody + Send + 'static, |
| 214 | { |
| 215 | fn into_response(self) -> ResponseFuture { |
| 216 | let (parts, body) = self.into_parts(); |
| 217 | let headers = parts.headers.clone(); |
| 218 | |
| 219 | let fut = async { Response::from_parts(parts, body.convert(headers).await) }; |
| 220 | |
| 221 | Box::pin(fut) |
| 222 | } |
| 223 | } |
| 224 | |
| 225 | impl IntoResponse for String { |
no test coverage detected