Function axum::middleware::from_fn_with_state_arc
source · [−]pub fn from_fn_with_state_arc<F, S, T>(
state: Arc<S>,
f: F
) -> FromFnLayer<F, S, T>
pub fn from_fn_with_state_arc<F, S, T>(
state: Arc<S>,
f: F
) -> FromFnLayer<F, S, T>