pub async fn run(config: ServerConfig) -> Result<()>Expand description
Run the server to completion (blocks). Logs a single listening line.
§Errors
Returns an error if binding or serving fails.
pub async fn run(config: ServerConfig) -> Result<()>Run the server to completion (blocks). Logs a single listening line.
Returns an error if binding or serving fails.