Function axum::middleware::from_extractor_with_state
source · 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.