pub fn serve<S: HttpService>(
s: S,
addr: SocketAddr,
) -> impl Future<Output = Result<(), Error>>Expand description
Serve the given HttpService at the given address, using hyper as backend, and return a
Future that can be awaited on.