[−][src]Function ntex::service::apply_fn
pub fn apply_fn<T, F, R, In, Out, Err, U>(
service: U,
f: F
) -> Apply<T, F, R, In, Out, Err> where
F: Fn(In, &T) -> R,
R: Future<Output = Result<Out, Err>>,
T: Service<Error = Err>,
U: IntoService<T>,
Apply tranform function to a service.