pub async fn serve(
store: Arc<Store>,
listener: TcpListener,
options: ServerOptions,
shutdown: impl Future<Output = ()> + Send + 'static,
) -> Result<()>Expand description
Serve router(store, options) on listener until shutdown completes.