[][src]Function warp_json_rpc::service

pub fn service<F>(
    filter: F
) -> impl Service<Request<Body>, Response = Response, Error = Infallible, Future = impl Future<Output = Result<Response, Infallible>>> + Copy where
    F: Filter + Copy,
    F::Future: TryFuture<Error = Rejection>,
    <F::Future as TryFuture>::Ok: Reply