pub fn map_state<S, St, Req>(
st: St,
s: impl IntoService<S, St, Req>,
) -> MapState<S, St>where
S: Service<St, Req>,Expand description
Wraps a service with a fixed state value.
The wrapped service uses st instead of the state from its outer pipeline.