Function json_rpc2::futures::serve [−][src]
pub async fn serve<'a>(
services: &'a Vec<&'a Box<dyn Service>>,
request: &mut Request
) -> Response
Infallible async service handler, errors are automatically converted to responses.