2022-08-23 21:14:02 +02:00
|
|
|
error[E0277]: the trait bound `String: FromRequestParts<S>` is not satisfied
|
2022-11-18 12:02:58 +01:00
|
|
|
--> tests/from_request/fail/parts_extracting_body.rs:5:11
|
2022-08-23 21:14:02 +02:00
|
|
|
|
|
2022-11-18 12:02:58 +01:00
|
|
|
5 | 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>`:
|
|
|
|
<() as FromRequestParts<S>>
|
|
|
|
<(T1, T2) as FromRequestParts<S>>
|
|
|
|
<(T1, T2, T3) as FromRequestParts<S>>
|
|
|
|
<(T1, T2, T3, T4) as FromRequestParts<S>>
|
|
|
|
<(T1, T2, T3, T4, T5) as FromRequestParts<S>>
|
|
|
|
<(T1, T2, T3, T4, T5, T6) as FromRequestParts<S>>
|
|
|
|
<(T1, T2, T3, T4, T5, T6, T7) as FromRequestParts<S>>
|
|
|
|
<(T1, T2, T3, T4, T5, T6, T7, T8) as FromRequestParts<S>>
|
2023-04-11 16:09:48 +02:00
|
|
|
and $N others
|