pub async fn serve_ops( listener: TcpListener, ops: Ops, stop: Receiver<u32>, ) -> Result<(), AppError>
Serves the ops endpoints on listener until stop.
listener
stop
AppError::BadArgument if the HTTP server fails.
AppError::BadArgument