pub async fn try_call_service<S, R, B, E>(
    app: &S,
    req: R
) -> Result<S::Response, E>
where S: Service<R, Response = ServiceResponse<B>, Error = E>, E: Debug,
Expand description

Fallible version of call_service that allows testing response completion errors.