mirror of
https://github.com/tokio-rs/axum.git
synced 2025-03-01 22:54:55 +01:00
* Make state type safe * fix examples * remove unnecessary `#[track_caller]`s * Router::into_service -> Router::with_state * fixup docs * macro docs * add missing docs * fix examples * format * changelog * Update trybuild tests * Make sure fallbacks are still inherited for opaque services (#1540) * Document nesting routers with different state * fix leftover conflicts
16 lines
796 B
Text
16 lines
796 B
Text
error[E0277]: the trait bound `String: FromRequestParts<S>` is not satisfied
|
|
--> tests/from_request/fail/parts_extracting_body.rs:5:11
|
|
|
|
|
5 | body: String,
|
|
| ^^^^^^ the trait `FromRequestParts<S>` is not implemented for `String`
|
|
|
|
|
= 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>>
|
|
and 26 others
|