Function ntex::apply_fn[][src]

pub fn apply_fn<T, F, R, In, Out, Err, U>(
    service: U,
    f: F
) -> Apply<T, F, R, In, Out, Err> where
    T: Service<Error = Err>,
    U: IntoService<T>,
    F: Fn(In, &T) -> R,
    R: Future<Output = Result<Out, Err>>, 
Expand description

Apply tranform function to a service.