2022-08-23 21:14:02 +02:00
|
|
|
error[E0277]: the trait bound `String: FromRequestParts<S>` is not satisfied
|
2023-09-29 09:25:26 +02:00
|
|
|
--> tests/from_request/fail/parts_extracting_body.rs:6:11
|
2022-08-23 21:14:02 +02:00
|
|
|
|
|
2023-09-29 09:25:26 +02:00
|
|
|
6 | body: String,
|
2022-08-23 21:14:02 +02:00
|
|
|
| ^^^^^^ the trait `FromRequestParts<S>` is not implemented for `String`
|
|
|
|
|
|
2022-11-19 12:45:03 +01:00
|
|
|
= note: Function argument is not a valid axum extractor.
|
|
|
|
See `https://docs.rs/axum/latest/axum/extract/index.html` for details
|
2022-08-23 21:14:02 +02:00
|
|
|
= help: the following other types implement trait `FromRequestParts<S>`:
|
2023-09-29 09:25:26 +02:00
|
|
|
<Extractor as FromRequestParts<S>>
|
|
|
|
<HeaderMap as FromRequestParts<S>>
|
|
|
|
<Extension<T> as FromRequestParts<S>>
|
|
|
|
<Method as FromRequestParts<S>>
|
2023-11-23 12:30:23 +01:00
|
|
|
<axum::http::request::Parts as FromRequestParts<S>>
|
2023-09-29 09:25:26 +02:00
|
|
|
<Uri as FromRequestParts<S>>
|
|
|
|
<ConnectInfo<T> as FromRequestParts<S>>
|
2023-11-16 08:15:16 +01:00
|
|
|
<Version as FromRequestParts<S>>
|
2023-04-11 16:09:48 +02:00
|
|
|
and $N others
|