pub fn from_extractor_with_state<E, S>(state: S) -> FromExtractorLayer<E, S>
Expand description
Create a middleware from an extractor with the given state.
See State
for more details about accessing state.
pub fn from_extractor_with_state<E, S>(state: S) -> FromExtractorLayer<E, S>
Create a middleware from an extractor with the given state.
See State
for more details about accessing state.