pub(crate) async fn serve_with(
cfg: Config,
stop_signal: impl Future<Output = ()>,
) -> Result<(), Box<dyn Error>>Expand description
The server proper, with its stop edge passed in rather than taken from the process. A test can hold that edge; nothing else needs to.