axum/axum-macros/tests/from_request/fail/parts_extracting_body.stderr

19 lines
879 B
Text
Raw Normal View History

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
|
2023-09-29 09:25:26 +02:00
6 | body: String,
| ^^^^^^ the trait `FromRequestParts<S>` is not implemented for `String`
|
= note: Function argument is not a valid axum extractor.
See `https://docs.rs/axum/latest/axum/extract/index.html` for details
= 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>>
<axum::http::request::Parts as FromRequestParts<S>>
2023-09-29 09:25:26 +02:00
<Uri as FromRequestParts<S>>
<ConnectInfo<T> as FromRequestParts<S>>
<Version as FromRequestParts<S>>
and $N others