2024-09-28 23:27:11 +02:00
|
|
|
error[E0277]: the trait bound `String: FromRequestParts<_>` is not satisfied
|
2024-03-14 21:19:03 +01:00
|
|
|
--> tests/from_request/fail/parts_extracting_body.rs:5:11
|
2022-08-23 21:14:02 +02:00
|
|
|
|
|
2024-03-14 21:19:03 +01:00
|
|
|
5 | body: String,
|
2024-09-28 23:27:11 +02:00
|
|
|
| ^^^^^^ the trait `FromRequestParts<_>` is not implemented for `String`
|
2022-08-23 21:14:02 +02:00
|
|
|
|
|
2022-11-19 12:45:03 +01:00
|
|
|
= note: Function argument is not a valid axum extractor.
|
2024-12-27 13:15:58 +01:00
|
|
|
See `https://docs.rs/axum/0.8/axum/extract/index.html` for details
|
2022-08-23 21:14:02 +02:00
|
|
|
= help: the following other types implement trait `FromRequestParts<S>`:
|
2024-09-11 20:41:44 +02:00
|
|
|
`()` implements `FromRequestParts<S>`
|
|
|
|
`(T1, T2)` implements `FromRequestParts<S>`
|
|
|
|
`(T1, T2, T3)` implements `FromRequestParts<S>`
|
|
|
|
`(T1, T2, T3, T4)` implements `FromRequestParts<S>`
|
|
|
|
`(T1, T2, T3, T4, T5)` implements `FromRequestParts<S>`
|
|
|
|
`(T1, T2, T3, T4, T5, T6)` implements `FromRequestParts<S>`
|
|
|
|
`(T1, T2, T3, T4, T5, T6, T7)` implements `FromRequestParts<S>`
|
|
|
|
`(T1, T2, T3, T4, T5, T6, T7, T8)` implements `FromRequestParts<S>`
|
2023-04-11 16:09:48 +02:00
|
|
|
and $N others
|