pub async fn served(
server: impl IntoFuture<Output = Result<()>>,
stop: Receiver<u32>,
grace: Duration,
) -> Result<()>Expand description
server (shutting down gracefully on stop) until it ends; once stop asks, its open
requests get grace and are then cut.
ยงErrors
As the server.